Problem Statement
Read quantity and unit price, then print the quantity and total value.
DEMO-OOP-33 โข Object Oriented Programming
Read quantity and unit price, then print the quantity and total value.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
3 4.5
Quantity: 3 Total: 13.50
10 2.0
Quantity: 10 Total: 20.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question