Assignment 4

Write a program that calculates the semester grades of students. The program first reads the number of students, and then reads 6 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 number of the most difficult quiz.

Program Input

Enter the number of students: 3

Enter the scores for each student:

 4  1 10  6  1 10 

 9  2  6  3  8  9 

 5  0  3  1  7  3 

Program Output

Table of Semester Grades: 

         Stud1  Stud2  Stud3

Grades:    7.5    8.0    4.5

The number 2 quiz is the most difficult one.