Question: Write a program that takes, as input, five numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are x,
Write a program that takes, as input, five numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are x, x, x, x, and x, then the mean is:
x = (x+ x+ x+ x+x)/5
and the standard deviation is:
s = (((x-x)+(x-x)+(x-x)+(x-x)+(x-x))/5)
Your program must contain at least the following functions: a function that calculates and returns the mean and a function that calculates the standard deviation.
Grading
As you complete the steps above, you can use the Test button to check if the lab tests are passing. Once you are satisfied with the results, use the Grade button to save your score.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
