编程知识 cdmana.com

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

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

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/12/20211207163316820w.html

Scroll to Top