FreeCodeCamp
JavaScript Algorithms and Data Structures Project

Cash Register

How to use:
1. Enter total amount of the purchase. (number is limit to 2 decimals)
2. Enter total amount of cash that customer paid. (number is limit to 2 decimals)
3. Enter the numbers of pennies, nickels, dime, ..., one hundred dollar bills the cash register has.
4. Click Checkout.
5. If transaction is completed and the Cash Register still has cash left. You can continue using the leftover amount by clicking the "Continue Operation" button.

Transaction Details
Total Amount ($):
Cash Paid ($):

Cash Register (whole numbers only)

Awaiting Input


New Cash Register Values