2 months ago
6 lines388 B
Exercises: lesson 5
- Explain the example to someone who hasn't taken the course. Which part was hardest to explain?
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Combine this lesson with the previous one: use something from both in a small program of your own.
- Make the example ask for its input instead of using a fixed value.