The following are the formulas to find mean and standard deviation of numbers.
To compute deviation with this formula, you have to store the individual numbers using an (one-dimensional) array, so that they can be used after the mean is obtained.
Your program should contain the following functions:
// Compute the mean of an array of double values
double mean(const double x[], int size);
// Compute the deviation of double values
double deviation(const double x[], int size) ;
Write a test program that prompts the user to enter 10 numbers and displays then mean and deviation
Answers
Answered by
0
Answer:
The following are the formulas to find mean and standard deviation of numbers.
To compute deviation with this formula, you have to store the individual numbers using an (one-dimensional) array, so that they can be used after the mean is obtained.
Your program should contain the following functions:
// Compute the mean of an array of double values
double mean(const double x[], int size);
// Compute the deviation of double values
double deviation(const double x[], int size) ;
Write a test program that prompts the user to enter 10 numbers and displays then mean and deviation
Answered by
1
Answer:
please mark me as brainlist.
Attachments:
Similar questions