Statisticians use the concepts of mean and standard deviation to describe a collection of data. the mean is the average value of items, and the standard deviation measures the spread or dispersal of the numbers about the mean. formally, if x1, x2, x3,...,Xn, is a collection of data, then

mean = m = x1+x2+x3+...+Xn

------------------

N

standard deviation =

S = /==============================

/ (x1-m)2 + (x2-m)2 + (x3-m)2+...+(Xnm)2

---------------------------------------

n-1

Write a program to:

A) Place the exam scores 59,60,65,75,56,90,66,62,98,72,95,71,63,77,65,77,65 ,50,85 and 62 into an array;

B ) Calculate the mean and standard deviation of the exam scores;

C) Assign letter grades to each exam score, ES, as follows:

ES greater than or equal to M + 1.5s is an A

m+.5s less than or equal to ES < m+1.5s is a B

m-.5s less than or equal ES < m+.5s is a C

m-1.5s ES less than or equal m-.5s is a D

ES < m-1.5s is an F

For instance, if M were 70 and S were 12, then grades of 88 or above would receive A's, grades between 76 and 87 would receive B's, and so on. A process of this type is referred to as curving grades.

D) Display a list of exam scores along with their corresponding grades ]]>