Question: Write a program that takes as input five numbers and outputs the mean ( average ) and standard deviation of the numbers. If the numbers
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 and the standard deviation are calculated as following:
Mxxxxx
stadevxMxMxMxMxM
Where Mis the mean and stadev is standard deviation
Your program must contain at least the following method: A method that calculates and returns the mean and a method that calculates the standard deviation.
Make sure to take advantage of the mean method when calculating the standard deviation.
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
