There is a class 4 students, five courses,
(1) input 4 students, five courses of information;
(2) find out more than two students failed to pass the course, the output of their student id and all course grades and gpa.
(3) to find out the average result in more than 90 points or the whole course grade students in more than 85 points,
Respectively three functions to achieve the above three requirements, (no pointer)
For detailed answers
CodePudding user response:
Written in an array structure is easy, involve the circulation, judgment of knowledgeCodePudding user response: