Page 1 of 1

python Change for 100 Dollars Game a change-counting game that gets the user to enter the number of coins required to eq

Posted: Fri May 20, 2022 2:40 pm
by answerhappygod
python
Change for 100 Dollars Game a change-counting game that gets the user to enter the number of coins required to equal exactly one dollar.
The program must prompt the user to enter the number of one's, five's, ten's, fifty dollars, pennies, nickels, dime quarters, and half dollars.
When the total value of the currency entered is equal to one hundred dollars, the program should congratulate the user for winning the game.
Otherwise, the program should display a message indicating whether the amount entered was more than or less than one hundred dollars. The player should be prompted to try again using a while loop with a limit of 3 tries. If the player fails all three times inform the player that there is a 30-minute cool down before they can try again.