Statisticians use the concepts of mean and standard deviation to describe a collection of numbers. The mean is the average value of the numbers and the standard deviation measures the spread or dispersal of the numbers about mean. The formally, if x1, x2, x3, ., xn is a collective of numbers then the mean is: see image.
and the standard deviation is: see image.
Have the user enter number of exam scores you would like to find the average and standard deviation. Write a program to calculate the mean standard deviation of the exam scores, assign letter grades to each exam score, ES, as follows, and then display information about the exam scores and grades:
ES >= 1.5s -> A
m + 0.5s <= ES < m + 1.5s -> B
m – 0.5s <= ES < m + 0.5s -> C
m – 1.5s <= ES < m – 0.5s -> D
ES < m – 1.5s -> F
Show your answers with at least 10 grades entered to validate your code works. Below is an example of how your outputs can be displayed but not required.
Number of scores: 14
Average score: 71.0
Standard deviation of scores: 14.42
GRADE DISTRIBUTION AFTER CURVING GRADES
A: 2 B: 1 C: 6 D: 4 F: 1