Question: *** C++*** Mean Function In statistics, when the elements in a set are summed and divided by the total number of elements, it is called
*** C++***
Mean Function
In statistics, when the elements in a set are summed and divided by the total number of elements, it is called mean. Write a function that accepts as arguments the following:
- An array of integers
- An integer that indicates the number of elements in the array (for example 12)
The function should determine the mean of the array. This value should be returned as a double.
Demonstrate your pointer prowess by using pointer notation instead of array notation in this function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
