Make change with fewest US coins.
Read an integer cents (0..99). Print the minimum number of coins (quarters=25, dimes=10, nickels=5, pennies=1) needed.
Test input: 67
Expected output: 6 (2x25 + 1x10 + 1x5 + 2x1)
Sign in to save your code and track progress across devices.