Write a program that asks the user for a file name.
The file contains a series of scores(integers), each written ona separate
line.
The program should read the contents of the file into an arrayand then
display
the following content:
1) The scores in rows of 10 scores and in sorted in descendingorder.
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 acceptsa
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 ninefunctions
should be constructed to meet the requirements.
Allocate an array to hold at least 100 scores.
Note - The programming language is C++