Practice ยท 2 of 2
Money Format
Implement void program(void) printing three prices, each on its own line, formatted as dollars with exactly 2 decimals: 1.5 -> $1.50, 12 -> $12.00, 0.05 -> $0.05.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Format Workshop