There are 10 students. The data of each student includes: name and scores of two courses. Input the data of 10 students, calculate and output the average score of each course and the data of the students with the highest score (name, scores of each course

CSDN Q & A 2022-01-15 02:27:50

Yes 10 A student , The data for each student includes : Name and grades of two courses , Input 10 Data of students , Calculate and output the average score of each course , And the data of the students with the highest scores ( full name 、 Grades of each course 、 average ).

The output format is as follows :

Average1:86.3

Average2:89.5

No.1:Liming,98,96,97


thank
Similar articles

2022-01-15

2022-01-15

2022-01-15