Write a program that play a game of \"guess the number \" as follow: Your progra
ID: 3628183 • Letter: W
Question
Write a program that play a game of "guess the number " as follow: Your program chooses the number to be guessed by selecting an integer at random in the range 1 to 1000. The program should displays the following:I have a number between 1 and 1000.
Can you guess my number?
Please type your first guess.
The player then types a first guess. The following respond:
1. Excellent! You guessed the number!
Would you like to play again (y or n)?
2. Too low. Try again
3. Too high. Try again
If the player's guess is incorrect, your program should loop until the player finally get the right number. The program shuold keep telling the Player Too High or Too Low to help the player"zero in" on the correct answer.
I need yours help for this program> Thank you
Explanation / Answer
Write a program that play a game of "guess the number " as follow: Your progra
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.