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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started