Question: create a C + + function that computes some statistics for an input array. In a file called stats.cpp , write a main function that
create a C function that computes some statistics for an input array. In a file called stats.cpp write a main function that does the following:
Reads an array of numbers input to the command window by the user
Calculates the mean and standard deviation of the array
Identifies array elements greater than standard deviations above the mean. Print these elements to screen and keep count of how many there are.
Print the mean, standard deviation, and number of outliers.
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
