This question is for java.
Write a program that plays the Hi-Lo guessing game withnumbers. The program should pick a random number between1 and 100 (inclusive), then repeatedly prompt the user to guessthe number. On each guess, report to the user that he or sheis correct or that the guess is high or low. Continue acceptingguesses until the user guesses correctly or chooses to quit. Usea sentinel value to determine whether the user wants to quit.Count the number of guesses and report that value when the user
guesses correctly. At the end of each game (by quitting or a cor-rect guess), prompt to determine whether the user wants to play
again. Continue playing games until the user chooses to stop.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here