Previous Lecture | lect04 Slides | Next Lecture |
Lecture video
https://www.youtube.com/watch?v=dVxle22_8O0
Code from lecture
https://github.com/ucsb-cs16-s19-nichols/code-from-class/tree/master/04-11
Three key aspects of functions
- Declaration (what are the inputs, outputs?)
- Definition (actual code for achieving the desired behavior)
- Function call (using function)