Arrays and Functions

Using const with array parameters

arrayfunc.cpp -- Here's an example program illustrating a couple of functions that take array parameters.

Practice exercises

Try writing the following functions (each takes in one or more arrays as a parameter) for practice:

arrayfunc2.cpp -- Examples of some functions written in lecture class, including Largest, Smallest, Sum, Average