There is only 1 player. Use JAVA Random toolkit to generate random number between 1 to 10. Once user has entered in a number, checked whether the number match with the generated number. There should be a telling the user how many times has the user guessed a number. The program should display user win if the number user has guess the correct number. If not ask user to enter a number again until user has entered the correct number. The program should allow player to have options either to play again or to exit the game by type 1 to proceed the game and type 2 to end the game.
Please visit the following link: