Preparing to use functions

Functions are incredibly useful for being able to split up a program. Being able to abstract away details so that you can focus on a different part of the program can help with many tricky tasks.

In the next activity you’ll look at decomposing a program into functions, as well as writing some functions of your own.