write a complete C++ program to perform an analysis of ex
scores. The input to the program is a sequence of N ex scores,
followed by -1. Example:
55
98
73
81
84
90
17
-1
Your program may assume there is at least one ex score in the
input sequence, i.e. N > 0. Also assume the ex scores are valid,
i.e. in the range 0..100, inclusive. Finally, assume the sequence
is always followed by a -1 to denote the end of the sequence --- do
not include the -1 in the analysis.
The output from your program is an analysis of the ex scores:
the # of scores, average, max, min, and a histogram of A, B, C, D,
and F scores (assuming a standard 90-80-70-60 scale). For example,
given the input sequence shown above, the output from your program
should be the following:
** ex Score Analysis **
# scores: 7
Average: 71.1429
Max: 98
Min: 17
90-100: 2
80-89: 2
70-79: 1
60-69: 0
< 60: 2
**END**