|
|
@ -85,3 +85,34 @@
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### C7: 修改库存记录
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
选择菜单命令 `6`,根据提示输入学号,若学号存在,则继续输入学号、姓名、成绩,并修改库存记录;否则,提示学号不存在并结束。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
请选择:7
|
|
|
|
|
|
|
|
输入学号:104
|
|
|
|
|
|
|
|
输入姓名:小刘
|
|
|
|
|
|
|
|
输入成绩:96
|
|
|
|
|
|
|
|
学生 104 已更新
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
|
|
|
|
|
|
|
|
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
请选择:3
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| NUMBER | NAME | ON HAND |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
| 104 | 小刘 | 90 |
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
|
|
|
|
|
|
|
|
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
请选择:6
|
|
|
|
|
|
|
|
输入学号:100
|
|
|
|
|
|
|
|
学生不存在.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|