Question: Write a Pascal program that plays HI-LO with the user. The game has a number between 1 and 100, say 37. The user will guess
Write a Pascal program that plays HI-LO with the user. The game has a number between 1 and 100, say 37. The user will guess values. After each guess, the program will respond Higher or Lower depending on whether the guess is higher or lower than 37. Once the user correctly guesses 37, the program prints a short congratulatory note and terminates.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
