Agenda
- Warm-up: Predict the Output — one function prints, one returns, and only one of them is useful twice
- Investigate: change a variable inside a function, then ask the rest of the program what it thinks happened
- Compare and name it: Parameters, Returns, and Scope
- Practise: the rest of Functions Practice
- Log it in your Code Journal
Things to do before our next class
- Journal: one function you wrote today that a completely different program could use, unchanged.