Calculating with Numbers
Homework
Extend the coins program so that it will count back $20, $10, $5, and $1 as well as coins. Output might look something like the following:
Enter the amount of the purchase: 2.13
Enter the amount tendered: 50.00
You spent $ 2.13 and tendered $ 50.00.You should receive 2 twenty dollar bills.
You should receive 0 ten dollar bills.
You should receive 1 five dollar bills.
You should receive 2 one dollar bills.
You should receive 3 quarters.
You should receive 1 dimes.
You should receive 0 nickles.
You should receive 2 pennies.