Question: Problem 2 (from the textbook). . P4.2 Mean and standard deviation. Write a program that reads a set of floating-point data values. Choose an appropriate
Problem 2 (from the textbook). . P4.2 Mean and standard deviation. Write a program that reads a set of floating-point data values. Choose an appropriate mechanism for prompting for the end of the data set. When all values have been read, print out the count of the values, the average, and the standard deviation. The average of a data set (x 1, ..., x,) is* =Ex; , where Ex; =x1+ .+ X, is the sum of the input values. The standard deviation is S = n - 1 However, this formula is not suitable for the task. By the time the program has computed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
