Description
COM2067/COM267 LAB4
Example Input (studentId midterm)
99215 75 66123 45
66127 50 99321 90
88234 90 88313 45
77245 65 77248 70
99218 70 99219 80
77445 75
-1 Example Output (classId classMidtermAverage)
1 47.50
66127 50
66123 45
2 70.00
77445 75 77248 70
77245 65
3 67.50
88234 90
88313 45
4 78.75
99321 90
99219 80 99215 75
99218 70
struct nodeClass
{
int classID;
double classMidtermAverage; struct nodeClass *next; struct nodeStudent *studentPtr; struct nodeStudent
{
int studentID; int midterm;
struct nodeStudent *next; };
};




Reviews
There are no reviews yet.