In this game, players guess a number, the application generates a random number, and players determine whether they were correct. Now that you can make decisions, modify the application so it allows a player to enter a guess before the random number is displayed, and then displays a message indicating whether the player's guess was correct, too high, or too low. Save the file as RandomGuess2.java.
In this game, players guess a number, the application generates a random number, and players determine whether they were correct. Now, add a loop that continuously prompts the user for the number, indicating whether the guess is high or low until the user enters the correct value. After the user correctly guesses the number, display a count of the number of attempts it took. Save the file as RandomGuess3.java.