Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rich Cook

Counting money

Language Java | Level Intermediate | Category Algorithms | August 4, 2015 9:35 am


Algorithm Problem Description

Write a program to get the amount of money and display the count of each type. The coins displays quarters, dimes, nickels, and pennies.

Output

          	        
          	        

Change owed (in cents) : 45
Quarters: 1, Dimes: 2, Nickels: 0, Pennies: 0
Number of coins used= 3

          	        
          	        				    


Comments



Please login to add comments.