Question: Exercise 6 . 4 Write a program that meets the following description. The user is asked if they want to play a game. If so
Exercise Write a program that meets the following description. The user
is asked if they want to play a game. If so the program should generate a random
number between and This is the secret number. Prompt the user to make a
guess at the secret number. Allow the to make guesses. The game ends it the user
guesses correctly or if they run out of guesses. Once the game is over, ask the user if
they want to play again and replay the game.
It is up to you to use the best loop designs for this problem. Be sure to use functions
can you reuse any functions you previously wrote
The goal of this exercise is to practice program design and loop types.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
