Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan

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.



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



Please login to add comments.