Write a program that reads the number of students in a class and their grades on a test. The program should display the average test grade of the class, the minimum and maximum test grade, and how many students got the same maximum grade, as well.
Sample Input:
5
50 60 70 100 100
Sample Output:
Average grade: 76
Minimum grade: 50
Maximum grade: 100
Number of students got the same max grade: 2
References: C From Theory