Project: Number Guessing Game
Write a program that allows the user to play a number guessing game. The program should ask the user for the maximum number available to select. Then the program should select a number between 1 and the maximum, inclusive, at random. The program will then enter a loop allowing the user to make guesses and will display whether that guess is high, low or correct. Once the user has guessed the correct number, the program should print the number of attempts it took to guess the number.