Write a program that calculates the semester grades of students. The program first reads the number of students, and then reads five scores for each student. Each score is an integer, and ranges between 0 and 10. Assume that there are at most 10 students. The program outputs the semester grades of students and the median of semester grades. The semester grade of a student is the average of the three highest scores. The median is the value separating the higher half from the lower half of scores. As an example,
Program Input
Enter the number of students: 3Enter the scores for each student:2 2 8 8 101 1 2 5 70 1 2 5 5Program Output
Table of Semester Grades: Stud1 Stud2 Stud3 8.7 4.7 4.0Median of Semester Grades: 4.7