9 months ago
7 lines475 B
Exercises: lesson 7
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Add a comment above each block explaining what it does, in your own words.
- Find one thing in
main.goyou could name better and rename it everywhere. - Combine this lesson with the previous one: use something from both in a small program of your own.
- Explain the example to someone who hasn't taken the course. Which part was hardest to explain?