Question: For this lab you will write a Java program using a loop that will play a simple Guess The Number game. Th gener e program

 For this lab you will write a Java program using a
loop that will play a simple Guess The Number game. Th gener

For this lab you will write a Java program using a loop that will play a simple Guess The Number game. Th gener e program will randomly loop where it prompt the user for a ate an integer between 1 and 200 (including both 1 and 200 as possible choices) and will enter a r has guessed the correct number, the program will end with a message indicating how many guesses it took to get the right answer and a incorrectly, the program should respond with a message that th again. message that is determined by how many guesses it takes them to get the right answer. If the user guesses e user has guessed either "too high" or "too low" and let them guess Use the following table to determine the final message after the messages to be considered correct) Message That was astounding That was lucky! That was pretty good. That was not that impressive. Are you sure this is the right game for you? This just isn't your game, is it? 2-4 5-6 8-9 10 or more

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!