This question already has an answer here:
- Guess the number 14 answers
The puzzle is as follows:
Create the traditional 'Guess my Number' game in as little keystrokes as possible. The player should input a guess between and including 1 and 100, and the computer should reply with either
+ (meaning the player needs to guess higher),
- (meaning the player needs to guess lower) or
= (meaning the player has guessed the number. The game continues until the player has guessed the number. The number that the computer generates MUST be a random number between and including 1 and 100.
50 + 75 - 60 - 55 + 57 =