8.5 Problems

 

1. Write a program that chooses a random number between 1 and 100. A user will then have to guess the value. Each guess will be given a hint for higher/lower. At the end the game should report the number of guesses required.