Home > Back-end >  C/c short-answer questions
C/c short-answer questions

Time:09-20

Student information including name, age, 3 classes (English), implement the following operations

1, data entry;

2, print the highest total score students;

3, print only branch high student subjects (input);

4, print only branch fail students and the number of subjects (input);

5, according to the average descending output;

6, according to the scale (average) information query and print the students

0, quit

CodePudding user response:

Use a class or structure

CodePudding user response:

CodePudding user response:

 
Struct {
Char name [];
int age;
Int score_math;
Int score_phy;
Int score_che;
}
  • Related