3 months ago
6 lines398 B
Exercises: lesson 9
- Run
src/main.rsand change one value. Write down what you expect, then run it again and compare. - Find one thing in
src/main.rsyou could name better and rename it everywhere. - Add a check that prints a warning when a result looks wrong (negative, empty, too big).
- What happens with an empty input? Change the code so it handles that case with a clear message.