First, ask the user how many games they want to play. This should be an odd number between 3 and
This problem has been solved!
Do you need an answer to a question different from the above? Ask your question!
Question:
First, ask the user how many games they want to play. This should be an odd number between 3 and 11, inclusive. If the user does not enter a valid number, show them an error message and ask them to re-enter it. Then play Rock-Paper-Scissors that number of times.
Remember to do input validation as needed.
Keep track of all entered data and display a table at the end showing the statistics for the run.
Related Book For
Accounting Information Systems
ISBN: 978-0133428537
13th edition
Authors: Marshall B. Romney, Paul J. Steinbart
View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes.
* Average response time.
Posted Date: September 04, 2023 03:54:00