Looping - Guess the secret number

Utilize looping and counters in a program

Generate a random number between 1 and a limiting value as a game, displaying messages after each guess whether the guess is correct, too high or low, and the number of guesses when the correct number is selected and displayed. Chapters 35-44 of text