Question: (20 pts.) 6. Write C++ code for each of the following: a) Write a function called average that will accept an array of type double.

(20 pts.) 6. Write C++ code for each of the following: a) Write a function called average that will accept an array of type double. It should take the average of all of the numbers in the array and return the average to the calling program. Be sure to include all needed parameters
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
