Page 1 of 1

课程成绩统计系统 Course Achievement Statistics System 某班有最多不超过 30 人(具体人数由键盘输入)参加某门课程的期末考试。 There are no more than 30 people (spe

Posted: Sat Jul 09, 2022 11:47 am
by answerhappygod
 1
1 (114.56 KiB) Viewed 43 times
 2
2 (39.42 KiB) Viewed 43 times
 3
3 (39.82 KiB) Viewed 43 times
课程成绩统计系统 Course Achievement Statistics System 某班有最多不超过 30 人(具体人数由键盘输入)参加某门课程的期末考试。 There are no more than 30 people (specific number entered by keyboard) in a class to take the final examination. (1) 录入每个学生的学号、姓名和各科考试成绩 Enter the student number, name and examination results of each student (2) 计算每门课程的总分和平均分 Calculate the total score and average score of each course (3) 按优秀(90~100)、良好(80~89)、中等(70~79)、及格(60~69)、不及格(0~59)5 个类别, 对每门课程分别统计每个类别的人数以及所占的百分比 According to the five categories of excellent (90 ~ 100), good (80 ~ 89), medium (70 ~ 79), pass (60 ~ 69) and fail (0 ~ 59), the number and percentage of each category are counted for each course respectively (4) 输出每个学生的学号、姓名、各科考试成绩,以及每门课程的总分和平均分 Output the student number, name, examination results of each subject of each student, as well as the total score and average score of each course. After the program is run, the following menu is required to be displayed first, and the user is prompted with input options. 1. Input record 2. Caculate total and average score of every course 3. Statisitic analysis for every course 4.List record 0.Exit Please enter your choice:
An instance of the result of the program running: input student number (n<30): 3 Management for student's scores 1-input record 2-caculate total and average acore of course 3-statistic analysis 4-list record 0-exit please input your choice:1 input student's ID and score: 10001 70 10002 80 10003 90 Management for student's scores 1-input record caculate total and average acore of course 3-statistic analysis 4-list record 0-exit please input your choice:2 sum-240, aver-80.00
Management for student's scores 1-input record 2-caculate total and average acore of course 3-statistic analysis 4-list record 0-exit please input your choice:3 <60 0 60-69 0 70-79 1 80-89 1 90-99 1 100 0 0.00% 0.00% 33.33% 33.33% 33.33% 0.00% Management for student's scores 1-input record 2-caculate total and average acore of course 3-statistic analysis 4-list record 0-exit please input your choice:4 10001 70 10002 80 10003 90