文件名称:4
介绍说明--下载内容均来自于网络,请自行研究使用
(1)有10 个学生,每个学生的数据包括学号、姓名、3门课的成绩,从键盘输入10 个学生数据,要求打印出每个学生3门课的平均成绩,以及最高分的学生的数据(包括学号、姓名、3门课的成绩、平均分数)。
要求:用input函数输入10个学生数据;用average函数求平均分;用max函数找出最高分的学生数据;平均分和最高分学生的数据都在主函数中输出。
-(1) There are 10 students, each student' s data, including Student ID, name, 3 course results, 10 students from the keyboard input data, required to print out each student' s grade point average three classes, as well as the highest score of student data (including Student ID, name, 3 course results, the average scores). Requirements: 10 with the input function, enter the student data with average demand function, the average points use max function to find the highest score of the student data average score and the highest score of the data of students in the main function output.
要求:用input函数输入10个学生数据;用average函数求平均分;用max函数找出最高分的学生数据;平均分和最高分学生的数据都在主函数中输出。
-(1) There are 10 students, each student' s data, including Student ID, name, 3 course results, 10 students from the keyboard input data, required to print out each student' s grade point average three classes, as well as the highest score of student data (including Student ID, name, 3 course results, the average scores). Requirements: 10 with the input function, enter the student data with average demand function, the average points use max function to find the highest score of the student data average score and the highest score of the data of students in the main function output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
片段.shs