Compute total inventory value
Multiply qty × price per item, sum everything. The answer should be 2000 (10×50 + 25×20 + 5×200).
Run and verify in the output. Spreadsheet clerks tremble.
Output
Press Run to execute your code.
Multiply qty × price per item, sum everything. The answer should be 2000 (10×50 + 25×20 + 5×200).
Run and verify in the output. Spreadsheet clerks tremble.