You now write functions in C++.
Functions group reusable code with a name
Parameters pass data in, return sends data out
void functions perform actions without returning
Break complex problems into smaller functions
Good job. Your code is now more organized. Next, you will learn pointers and references for direct memory access.