7 months ago
7 lines500 B
Exercises: lesson 4
- Add a comment above each block explaining what it does, in your own words.
- Run
commands.shand change one value. Write down what you expect, then run it again and compare. - Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.
- 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.