Home > Back-end >  Brothers, help me
Brothers, help me

Time:01-04

A class of students, each student's information, including student id, name, 3 course grades, students from the keyboard input data, requirements: to be able to provide users with the following features: 1, according to the user's choice of course name printed students in the course grade order information (student id, name and result); 2, find each of the tallest students in the class scores, print the information; 2, find the highest average students to print the information, (requires the use of a linked list, in the form of a structure array does not score)

CodePudding user response:

And, this is your homework
You can start a display a text menu, such as 1, 2, 3
Put all the achievement data is loaded into the list in advance;
_getch () can get users a choice, and no echo;
Can find from the scanning head to tail, each;
This is the most stupid way, but can satisfy the requirements

CodePudding user response:

reference 1st floor Chen Zhongfu response: ,
, this is your homework
You can start a display a text menu, such as 1, 2, 3
Put all the achievement data is loaded into the list in advance;
_getch () can get users a choice, and no echo;
Can find from the scanning head to tail, each;
This is the most stupid way, but can satisfy the requirements

Any code provides, we didn't study linked list, but there's homework