Question: Statistics Function: Call by reference / address practice problem Write a function that computes the mean average and standard deviation of 4 scores. The function

Statistics
Function: Call by reference/address practice problem
Write a function that computes the mean average and standard deviation of 4 scores. The function will
have six parameters:
4 scores passed by value
Mean passed by reference
Standard Deviation passed by reference
The function will call two other functions to calculate the mean and standard deviation.
Embed the function in a driver program that allows you to test the functions repeatedly until you tell
the program you are finished.
Input validation is required.
Documentation with function prologs and pseudocode is also required.
Submission: Source code and test log
Overview of how to calculate standard deviation
The formula for standard deviation (SD) is
=||2
Where x is the value of one score, is the mean of the data, and N is the number of scores supplied
The standard deviation formula may look confusing, but heres a view of the steps we're about to
follow:
Step 1: Find the mean.
Step 2: For each data point, find the square of its distance to the mean.
Step 3: Sum the values from Step 2.
Step 4: Divide by the number of data points.
Step 5: Take the square root.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!