qfedu-c-level/day13/homework/README.md

81 lines
2.1 KiB
Markdown
Raw Normal View History

2023-07-20 00:36:39 +08:00
### 主菜单
2023-07-20 00:40:13 +08:00
![image-20230720001141667](./README.assets/image-20230720001141667.png)
2023-07-20 00:36:39 +08:00
### 3. 查询学生
##### 默认4位学生打印为
2023-07-20 00:40:13 +08:00
![image-20230720001211074](./README.assets/image-20230720001211074.png)
2023-07-20 00:36:39 +08:00
### 1. 添加学生
2023-07-20 00:40:13 +08:00
![image-20230720001350791](./README.assets/image-20230720001350791.png)
2023-07-20 00:36:39 +08:00
##### 再次打印结果为
2023-07-20 00:40:13 +08:00
![image-20230720001411293](./README.assets/image-20230720001411293.png)
2023-07-20 00:36:39 +08:00
### 2. 删除学生
2023-07-20 00:40:13 +08:00
![image-20230720001526593](./README.assets/image-20230720001526593.png)
2023-07-20 00:36:39 +08:00
##### 再次打印
2023-07-20 00:40:13 +08:00
![image-20230720001530511](./README.assets/image-20230720001530511.png)
2023-07-20 00:36:39 +08:00
### 4. 查询学生
2023-07-20 00:40:13 +08:00
![image-20230720001732555](./README.assets/image-20230720001732555.png)
2023-07-20 00:36:39 +08:00
### 5. 修改学生
2023-07-20 00:40:13 +08:00
![image-20230720001835486](./README.assets/image-20230720001835486.png)
2023-07-20 00:36:39 +08:00
##### 再次打印如下
2023-07-20 00:40:13 +08:00
![image-20230720001850325](./README.assets/image-20230720001850325.png)
2023-07-20 00:36:39 +08:00
### 6. 排序(按照学号 sid-升序、sid-降序、年龄 age-升序、age-降序)
##### sid-升序
2023-07-20 00:40:13 +08:00
![image-20230720002052320](./README.assets/image-20230720002052320.png)
2023-07-20 00:36:39 +08:00
2023-07-20 00:40:13 +08:00
![image-20230720002058261](./README.assets/image-20230720002058261.png)
2023-07-20 00:36:39 +08:00
##### sid-降序
2023-07-20 00:40:13 +08:00
![image-20230720002134021](./README.assets/image-20230720002134021.png)
2023-07-20 00:36:39 +08:00
2023-07-20 00:40:13 +08:00
![image-20230720002137522](./README.assets/image-20230720002137522.png)
2023-07-20 00:36:39 +08:00
##### age-升序
2023-07-20 00:40:13 +08:00
![image-20230720002210173](./README.assets/image-20230720002210173.png)
2023-07-20 00:36:39 +08:00
2023-07-20 00:40:13 +08:00
![image-20230720002212945](./README.assets/image-20230720002212945.png)
2023-07-20 00:36:39 +08:00
##### age-降序
2023-07-20 00:40:13 +08:00
![image-20230720002242172](./README.assets/image-20230720002242172.png)
2023-07-20 00:36:39 +08:00
2023-07-20 00:40:13 +08:00
![image-20230720002256701](./README.assets/image-20230720002256701.png)
2023-07-20 00:36:39 +08:00
##### 错误选项
2023-07-20 00:40:13 +08:00
![image-20230720002349905](./README.assets/image-20230720002349905.png)
2023-07-20 00:36:39 +08:00
### 7. 逆序(反序):在当前排序的基础上
##### 反序前输出
2023-07-20 00:40:13 +08:00
![image-20230720002515087](./README.assets/image-20230720002515087.png)
2023-07-20 00:36:39 +08:00
##### 执行反序操作
2023-07-20 00:40:13 +08:00
![image-20230720002548026](./README.assets/image-20230720002548026.png)
2023-07-20 00:36:39 +08:00
##### 反序后输出
2023-07-20 00:40:13 +08:00
![image-20230720002604945](./README.assets/image-20230720002604945.png)