Agenda
- Warm-up: Spot the Bug — one of these loops never ends
- Sorting exercise: eight problems, two piles — counted repetition and repetition that waits for something. Defend the pile you are least sure of.
- Tool: Using the Debugger — step one iteration at a time and watch the counter change
- Practise: Loops Practice
Things to do before our next class
- Finish Loops Practice as far as the running total questions.
- Journal: how you knew, before running it, that your loop would stop.