317 B
317 B
Implement a classic beginner programming problem: a guessing game.
- generate a random integer between 1 and 100
- prompt the player to enter a guess
- after a guess is entered, indicate whether the guess is too low or too high
- elseif the guess is correct, print a congratulatory message and exit