PROGRAMMING:Excellent student query (class and object)
####* * Title: the function of programming to find excellent students - the user inputs the scores of multiple students and outputs the name of the student with the highest total score and the scores of various subjects**
**Requirements: * design a student class, including
1) * * attribute * *: name, mathematics score (mscore), Chinese score (Cscore), English score (eSCORE);
2) * * method * *:
1. Construction method, to construct each specific student object
2. The total score method getsum (self) returns the sum of three scores
3. Getbest (self) is the method to get the name, math score, Chinese score and English score of excellent students, and four results are returned (name, math score, Chinese score and English score of excellent students)
###* * input format * *:
Input through 4 lines:
Enter multiple student names in the first line, separated by spaces
Enter multiple math scores on the second line, separated by spaces
In the third line, enter multiple language scores, separated by spaces
On the fourth line, enter multiple English scores, separated by spaces
**Note * *: the number of students' names should be consistent with the number of their scores
###* * output format * *:
In one line, output the students with the highest total score and their scores in each subject, separated by spaces.
###Input example:
Here is a set of inputs. For example:
```in
Jack Tom Jim
95 84 32
90 75 45
85 90 67
```
###Output example:
The corresponding output is given here. For example:
```out
Jack 95 90 85
```
answer:If there is no answer, please comment
**Requirements: * design a student class, including
1) * * attribute * *: name, mathematics score (mscore), Chinese score (Cscore), English score (eSCORE);
2) * * method * *:
1. Construction method, to construct each specific student object
2. The total score method getsum (self) returns the sum of three scores
3. Getbest (self) is the method to get the name, math score, Chinese score and English score of excellent students, and four results are returned (name, math score, Chinese score and English score of excellent students)
###* * input format * *:
Input through 4 lines:
Enter multiple student names in the first line, separated by spaces
Enter multiple math scores on the second line, separated by spaces
In the third line, enter multiple language scores, separated by spaces
On the fourth line, enter multiple English scores, separated by spaces
**Note * *: the number of students' names should be consistent with the number of their scores
###* * output format * *:
In one line, output the students with the highest total score and their scores in each subject, separated by spaces.
###Input example:
Here is a set of inputs. For example:
```in
Jack Tom Jim
95 84 32
90 75 45
85 90 67
```
###Output example:
The corresponding output is given here. For example:
```out
Jack 95 90 85
```
answer:If there is no answer, please comment