Project objective: write a program that takes a list of final scores for a class and determines: 1) the mean (Greek letter mu), 2) the standard deviation (Greek letter sigma), and 3) the number of grades in each category (A, A-, B+, B-, C+, C, C-, D+, D, and F). See above for the due date.
Use the formulas for the standard deviation and mean, respectively (see attached jpeg).
Prompt the user for the name of a file ([login to view URL]) containing the final scores, up to 100 scores, such as below (without the commas):
100, 94, 59, 83, 57, 11, 92, 76, 37, 89, 74, 59, 65, 79, 49, 89, 89, 75, 64, 82, 15, 74, 82, 68, 92, 61, 33, 95, 91, 82, 89, 64, 43, 93, 86, 65, 72, 40, 42, 90, 81, 62, 90, 89, 35, 81, 48, 33, 94, 81, 76, 86, 67, 70, 100, 80, 83, 78, 96, 58
Note: m = 71.47 s = 20.98
Determine the maximum score, the minimum score, the range of scores (maximum – minimum) and print a table with column headings:
Grade
Number of scores
using the following scoring (where m is the mean, s is the standard deviation, and x is an individual score):
A : m+ 4/3 s <= x
A– : m+ 3/3 s <= x < m+ 4/3 s
B+ : m+ 2/3 s <= x < m+ 3/3 s
B : m+ 1/3 s <= x < m+ 2/3 s
B– : m+ 0/3 s <= x < m+ 1/3 s
C+ : m– 1/3 s <= x < m+ 0/3 s
C : m– 2/3 s <= x < m– 1/3 s
C– : m– 3/3 s <= x < m– 2/3 s
D+ : m– 4/3 s <= x < m– 3/3 s
D : m– 5/3 s <= x < m– 4/3 s
F : x < m– 5/3 s
Place the output in a file, in an orderly format, and inform the user of the name of the file before exiting.
Project MUST be an empty project. I expect a .cpp file as deliverable that I can compile, and a project design in a word document.