Write a program that generates a random number between 1 and 100 (inclusive) and then prompts the user to guess the number. The user should be given up to 10 chances to guess the number. After each guess, the user should be told if their guess was too high, too low, or a match. If the guess is a match, the game terminates.At the end of the game the secret number is printed even if the user did not succefully guess the number.