Question: I want to create a game where the computer generates a random number between 1 and 100. The user tries to guess which number the

I want to create a game where the computer generates a random number between 1 and 100. The user tries to guess which number the computer chose. If the user guesses correctly the user wins, if they guess incorrectly the computer displays a message to the user Too High or Too low and asks the user for another guess. Then add a conditional statement that will give the user a rating based on the number of guesses it took them to get it correct. Finally, add a sentence where the winner is determined by the person who guessed the number first. I want to create it in Java Main please, and also don't use arrays or any complicated code. Thanks

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!