Functions

Functions allow you to write a large chunk of code, and then reuse it over and over again by writing a single line. They can save a lot of time and space!

In C++, there are three basic steps to write a function: declare above main define below main call inside main (or another function)
 * 1) Numbered list item

note: technically you can skip the declaration and just write the definition above main (like you do in python). However, I recommend getting in the habit of all three steps, as it will make it easier to move things into header files later.