文件名称:chengjicetongji
介绍说明--下载内容均来自于网络,请自行研究使用
1、定义一个结构体类型,成员有:学号 、姓名、性别、平时成绩、期中成绩、期末成绩、总评
2、功能如下:
(1)添加新同学:只需输入学号和姓名,平时成绩、期中成绩和期末成绩自动产生100以内的随机数,随机产生性别(F/M)。
总评=平时成绩×10 +期中成绩×30 +期末成绩×60
(2)查找并修改:查找指定学生,并修改平时成绩、期中成绩和期末成绩。
(3)排序输出:按总评成绩(递减)输出。
(4)输出所有总评不及格的学生信息。
(5)输出期末成绩最高的女生。
3、要求成绩册存储在磁盘文件中。-1, define a structure type, the members are: student number, name, gender, usually results, interim results, final results, Comments
2, the following functions:
(1) Add new students: just enter the school number and name, usually results, interim results and final results within the automatically generated 100 random numbers, random sex (F/M).
Overall rating = Daily Grade × 10 + Midterm grades × 30 + final grade × 60
(2) to find and change: Find the specified students, and modify the usual results, interim results and final results.
(3) Sort Output: by Final Performance (reduced) output.
(4) Overall rating out of all students who failed message.
(5) the highest output of the final grade girls.
3, the required result is stored in the disk file copies.
2、功能如下:
(1)添加新同学:只需输入学号和姓名,平时成绩、期中成绩和期末成绩自动产生100以内的随机数,随机产生性别(F/M)。
总评=平时成绩×10 +期中成绩×30 +期末成绩×60
(2)查找并修改:查找指定学生,并修改平时成绩、期中成绩和期末成绩。
(3)排序输出:按总评成绩(递减)输出。
(4)输出所有总评不及格的学生信息。
(5)输出期末成绩最高的女生。
3、要求成绩册存储在磁盘文件中。-1, define a structure type, the members are: student number, name, gender, usually results, interim results, final results, Comments
2, the following functions:
(1) Add new students: just enter the school number and name, usually results, interim results and final results within the automatically generated 100 random numbers, random sex (F/M).
Overall rating = Daily Grade × 10 + Midterm grades × 30 + final grade × 60
(2) to find and change: Find the specified students, and modify the usual results, interim results and final results.
(3) Sort Output: by Final Performance (reduced) output.
(4) Overall rating out of all students who failed message.
(5) the highest output of the final grade girls.
3, the required result is stored in the disk file copies.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
学生成绩册统计.txt