Question: the language for the code is JAVA Create a class called GuessNum. Write code that randomly generates an integer between 1 and 100, inclusive. The

the language for the code is JAVA
Create a class called GuessNum. Write code that randomly generates an integer between 1 and 100, inclusive. The program prompts the user to enter a number continuously until the number matches the randomly generated number. For each user input, the program tells the user whether the input is too low or too high, so the user can choose the next input intelligently. Display the number of attempts made for the user to guess the number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
