tong tong zhang 2 years ago
parent 22f74c781a
commit b030e9e605

@ -46,43 +46,44 @@
C1: 启动程序
命令行中执行命令./app,系统启动,显示提示信息,然后显示功能菜单,等待用户输入命令。
````
Management for Students'scores
1 Input record
2 Calculate total and average score of every course
3 Calculate total and average score of every student
4 Sort in descending order by score
5 Sort in ascending order by score
6 Sort in ascending order by number
7 Sort in dictionary order by name
8 Search by number
9 Search by name
10 Statistic analysis
11 List record
12 Write to a file
13 Read from a file
0 Exit
Please Input your choice:
学生成绩管理
1 输入分数
2 计算每个学生各门成绩的总分和平均分
3 计算每个课程的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按数据升序排序
7 按姓名的字典顺序排序
8 查找数据
9 查找姓名
10 统计分析
11 列表记录
12 写入文件
13 读取文件
0 退出
请输入你的选择:
````
C2: 显示命令菜单
调用 Menu() 函数显示命令菜单,用户输入选项后,将结果返回主函数
````
Management for Students'scores
1 Input record
2 Calculate total and average score of every course
3 Calculate total and average score of every student
4 Sort in descending order by score
5 Sort in ascending order by score
6 Sort in ascending order by number
7 Sort in dictionary order by name
8 Search by number
9 Search by name
10 Statistic analysis
11 List record
12 Write to a file
13 Read from a file
0 Exit
Please Input your choice:
学生成绩管理
1 输入分数
2 计算每个学生各门成绩的总分和平均分
3 计算每个课程的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按数据升序排序
7 按姓名的字典顺序排序
8 查找数据
9 查找姓名
10 统计分析
11 列表记录
12 写入文件
13 读取文件
0 退出
请输入你的选择:
````
C3: 退出程序
选择菜单命令 0 ,再输入 y 确认,则退出程序。
````

Loading…
Cancel
Save