|
|
@ -132,3 +132,36 @@
|
|
|
|
-------------------------------------------------------
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### C9: 学生信息及成绩排序
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
选择菜单命令 `8`,对学生按学号从小到大排序。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
请选择:3
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| NUMBER | NAME | ON HAND |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| 101 | 小米 | 80 |
|
|
|
|
|
|
|
|
| 100 | 小明 | 70 |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
|
|
|
|
|
|
|
|
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
请选择:8
|
|
|
|
|
|
|
|
排序
|
|
|
|
|
|
|
|
排序已完成
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
|
|
|
|
|
|
|
|
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
请选择:3
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| NUMBER | NAME | ON HAND |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| 100 | 小明 | 70 |
|
|
|
|
|
|
|
|
| 101 | 小米 | 80 |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|