I created this simple Javascript program in my CMST 386 class
to calculate gambling winnings based on user input. Enjoy!
Full Name:
U.S. Citizen?
Social Security Number:
Please enter the amount of your first receipt and click "add".
| Black | $5 |
| Blue | $20 |
| Red | $50 |
| Green | $100 |
| Purple | $500 |
| Gold | $1000 |
| Black | |
| Blue | |
| Red | |
| Green | |
| Purple | |
| Gold |
Subtotal:
Taxes:
Total Winnings:
