In: Advanced Math
Write a program that asks the user for a file name.
The file contains a series of scores(integers), each written on a separate
line.
The program should read the contents of the file into an array and then
display
the following content:
1) The scores in rows of 10 scores and in sorted in descending order.
2) The lowest score in the array
3) The highest score in the array
4) The total number of scores in the array
5) The average score in the array.
6) The median score in the array.
Please find a file named scores.txt in Canvas.
Program structure shall be as follows:
A top level function named TestScoreAnalysis() which accepts a
file of scores to be analyzed and displayed to the console
screen describing the six content items specified above.
Each task shall be done in a separate function.
There are nine(9) tasks,... therefore at least nine functions
should be constructed to meet the requirements.
Allocate an array to hold at least 100 scores.
Note - The programming language is C++