Files
rust-learning-journey/ch2.md
2021-12-20 15:50:03 +01:00

7 lines
317 B
Markdown

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