Question: In the Game Zone section of Chapter 5, you designed a guessing game in which the application generates a random number and the player tries
In the Game Zone section of Chapter 5, you designed a guessing game in which the application generates a random number and the player tries to guess it. After each guess, you displayed a message indicating whether the player’s guess was correct, too high, or too low. When the player eventually guessed the correct number, you displayed a score that represented a count of the number of required guesses. Now, modify that program to allow a player to replay the game as many times as he likes, up to 20 times. When the player is done, display the scores from highest to lowest, and display the mean and median scores.
Step by Step Solution
3.42 Rating (168 Votes )
There are 3 Steps involved in it
Pseudocode start Declarations num myRandomNumber num guess num count 0 num again 1 num x 0 num media... View full answer
Get step-by-step solutions from verified subject matter experts
