Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program. Linus Torvalds

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.