Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

12th week Write a fifth game program that can be played repeatedly. This game ge

ID: 3535874 • Letter: 1

Question

12th week Write a fifth game program that can be played repeatedly. This game generates a random number between 1 and 100. The game prompts the user to guess the generated number. The game tells the user if he was low or high. The game allows the user to guess as many times as it takes to guess the number. Guarantee the numbers entered are in an acceptable range. A sample run of the game would look like this:


This program allows you to guess a random integer

between 1 and 100 inclusive. The computer creates

a random number and tells you if your guess was

correct, hi or low.

Please guess the number

50 you were low, please guess again

75 you were hi please guess again.

65 you were low, please guess again

70 you were low, please guess again

73 Good job! You got the number with 5 tries.



Would you like to play the game again?

Please enter (yes/no) no



Need a code in Java

Explanation / Answer

when do you need this by?

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote