Coin Machine

Step 3: On each iteration of a loop, subtract the maximum number of cents possible, in quantities of 25, 10, 5, and 1 corresponding to different coins. Print the name of the coin that was used.
Last step Next section