Question: C + + : This program will use statistics ( I ' ll describe how to calculate them ) . Write a program that prompts
C: This program will use statistics Ill describe how to calculate them Write a program that prompts for response times from a web site in milliseconds. It should keep asking for values until the user enters a to stop.
The program should print the average time mean the minimum time, the maximum time, and the standard deviation.
To compute the average mean:
Compute the sum of all the values.
Divide the sum by the number of values.
To compute the standard deviation:
Calculate the difference from the mean of each number and square it
Compute the mean of the squared values.
Take the square root of the mean.
Example Output:
Enter a number:
Enter a number:
Enter a number:
Enter a number:
Enter a number:
Numbers:
The average is:
The minimum is:
The standard deviation is:
Use loops and arrays to perform input and mathematical operations. Use functions to compute means, the maximum value, the minimum value, and the standard deviation. Be sure to keep the input separate from the computing and the output.
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
