void(*processGrade[4])(int[][EXAMS],int,int)={ printArray, minimum, maximum, average };
printf("%s"," 0 Print the array of grades \n1 Find the minimum grade\n2 Find the maximum grade\n3 Print the average on all tests for each student\n4 End program\n");
printf("%s"," 0 Print the array of grades \n1 Find the minimum grade\n2 Find the maximum grade\n3 Print the average on all tests for each student\n4 End program\n");
0 Print the array of grades
1 Find the minimum grade
2 Find the maximum grade
3 Print the average on all tests for each student
4 End program
[0] [1] [2] [3]
StudentGrade[0] 77 68 86 98
StudentGrade[1] 75 78 96 68
StudentGrade[2] 84 89 77 80 0 Print the array of grades
1 Find the minimum grade
2 Find the maximum grade
3 Print the average on all tests for each student
4 End program
LOwer grade: 68
0 Print the array of grades
1 Find the minimum grade
2 Find the maximum grade
3 Print the average on all tests for each student
4 End program
Highest grade: 98
0 Print the array of grades
1 Find the minimum grade
2 Find the maximum grade
3 Print the average on all tests for each student
4 End program
the average grade for student 1 is 82.250000
the average grade for student 2 is 161.500000
the average grade for student 3 is 244.000000
0 Print the array of grades
1 Find the minimum grade
2 Find the maximum grade
3 Print the average on all tests for each student
4 End program
[0] [1] [2] [3]
StudentGrade[0] 77 68 86 98
StudentGrade[1] 75 78 96 68
StudentGrade[2] 84 89 77 80
LOwer grade: 68
Highest grade: 98
the average grade for student 1 is 82.250000
the average grade for student 2 is 161.500000
the average grade for student 3 is 244.000000