Overview:
Create a Java program that simulates a number guessing game. The computer must randomly choose an integer in the range of 1-10 for the user to guess. The user will then repeatedly input guesses at that number until it is found. After each incorrect guess, the computer will offer output indicating whether a guess was too high or too low to ease the discovery process. The program ends with the computer outputting that the secret number was found, and that the game is over.
Create a class called RandomGuessGame
This class uses the Scanner class for input. Import the Scanner class, as we have practiced in class.
Class variables