Lesson 4.1 · Answer it
Function purpose
2 marksYou mark it yourself against the marking points
(a) State one reason a programmer defines a function instead of writing the same code in two places. [1]
(b) State what happens when a program reaches a function definition (not a function call). [1]
[2]