5) Write a function that has the array as one of the parameters and returns the average of the all of the integers. Post status messages as activities progress.
a) Report sum activity as follows:
b) Compute average (average = sum / SIZE;)
c) Display average
6) Determine and display the largest number in the array
7) Determine and display the smallest number in the array