Problem Statement
Parse one raw token as a price and print it with two decimals. Handle invalid numeric input.
DEMO-OOP-33 โข Object Oriented Programming
Parse one raw token as a price and print it with two decimals. Handle invalid numeric input.
Input is given as whitespace-separated raw tokens exactly in the order described by the problem statement.
Print the exact success report or exact error message required by the problem.
Submit runs every public testcase in this browser. Results and code never leave this device.
10.5
Price: 10.50
99
Price: 99.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question