Lesson 9: one more exercise
1 changed files with 1 additions and 0 deletions
lessons/09-traits-and-generics/exercises.md
| @@ -3,3 +3,4 @@ | ||
| 3 | 3 | 1. Run `src/main.rs` and change one value. Write down what you expect, then run it again and compare. |
| 4 | 4 | 2. Find one thing in `src/main.rs` you could name better and rename it everywhere. |
| 5 | 5 | 3. Add a check that prints a warning when a result looks wrong (negative, empty, too big). |
| 6 | +4. What happens with an empty input? Change the code so it handles that case with a clear message. | |