Quote:
A third grade teacher at Hinsbrook Elementry School would like you to create a program that will help her students learn how to make change. The program should allow the student to enter the amount of money the customer owes and the amount of money the customer paid. The program should calculate and display the amount of change, as well as how many dollars, quarters, dimes, nickels, and pennies to return to the customer. For now, you do not have to worry about the situation where the price is greater than what the customer pays. You can always assume that the customer paid wither the exact amount or more than the exact amount.
Here are some desk-checks for the above program listed in my book: