From 6bb4aaa99969e7010587765a542d06a818401e70 Mon Sep 17 00:00:00 2001 From: pi9jl6p58 <1903771960@qq.com> Date: Tue, 25 Apr 2023 12:29:53 +0800 Subject: [PATCH 1/8] Delete 'text.drawio' --- text.drawio | 103 ---------------------------------------------------- 1 file changed, 103 deletions(-) delete mode 100644 text.drawio diff --git a/text.drawio b/text.drawio deleted file mode 100644 index 097a80d..0000000 --- a/text.drawio +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From 95f4b0474a01cd55b2d8eddbc269940a502e9ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90?= <1903771960@qq.com> Date: Tue, 25 Apr 2023 12:30:56 +0800 Subject: [PATCH 2/8] 456 --- text.drawio.svg | 103 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 text.drawio.svg diff --git a/text.drawio.svg b/text.drawio.svg new file mode 100644 index 0000000..097a80d --- /dev/null +++ b/text.drawio.svg @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 6e54b157fd2e08dfe92fffd0a59f98a415b13a20 Mon Sep 17 00:00:00 2001 From: pi9jl6p58 <1903771960@qq.com> Date: Tue, 25 Apr 2023 12:32:25 +0800 Subject: [PATCH 3/8] Delete 'text.drawio.svg' --- text.drawio.svg | 103 ------------------------------------------------ 1 file changed, 103 deletions(-) delete mode 100644 text.drawio.svg diff --git a/text.drawio.svg b/text.drawio.svg deleted file mode 100644 index 097a80d..0000000 --- a/text.drawio.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From 51c494ba059dcfb5d84361bbc60f30bfd88118fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90?= <1903771960@qq.com> Date: Tue, 25 Apr 2023 12:34:34 +0800 Subject: [PATCH 4/8] 456 --- test.drawio.svg | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test.drawio.svg diff --git a/test.drawio.svg b/test.drawio.svg new file mode 100644 index 0000000..e69de29 From f7bd5af4d0611d5d987a5ab59848ed178fc485bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90?= <1903771960@qq.com> Date: Tue, 25 Apr 2023 12:35:36 +0800 Subject: [PATCH 5/8] 456 --- test.drawio.svg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test.drawio.svg b/test.drawio.svg index e69de29..7fae826 100644 --- a/test.drawio.svg +++ b/test.drawio.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From 4e89cbd0eda60ba4c27020657ca52a045b7cc8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90?= <1903771960@qq.com> Date: Tue, 25 Apr 2023 20:25:51 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.drawio.svg | 316 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 314 insertions(+), 2 deletions(-) diff --git a/test.drawio.svg b/test.drawio.svg index 7fae826..428011d 100644 --- a/test.drawio.svg +++ b/test.drawio.svg @@ -1,6 +1,318 @@ - + - + + + + + + +
+
+
+ start +
+
+
+
+ + start + +
+
+ + + + + + + + + + +
+
+
+ 学号存在 +
+
+
+
+ + 学号存在 + +
+
+ + + + + + +
+
+
+ + 输入学生名称、名次,添加分数 + +
+
+
+
+ + 输入学生名称、名次,添加分数 + +
+
+ + + + +
+
+
+ Y +
+
+
+
+ + Y + +
+
+ + + + +
+
+
+ N +
+
+
+
+ + N + +
+
+ + + + +
+
+
+ 完成 +
+
+
+
+ + 完成 + +
+
+ + + + +
+
+
+ end +
+
+
+
+ + end + +
+
+ + + + + + + + + + + + +
+
+
+ 学号存在 +
+
+
+
+ + 学号存在 + +
+
+ + + + +
+
+
+
+ + 输出学生信息 + +
+
+
+
+
+
+
+
+
+
+ + 输出学生信息... + +
+
+ + + + +
+
+
+ Y +
+
+
+
+ + Y + +
+
+ + + + +
+
+
+ end +
+
+
+
+ + end + +
+
+ + + + +
+
+
+ N +
+
+
+
+ + N + +
+
+ + + + + + + + +
+
+
+ 是否为3 +
+
+
+
+ + 是否为3 + +
+
+ + + + +
+
+
+ 打印成绩单 +
+
+
+
+ + 打印成绩单 + +
+
+ + + + +
+
+
+ Y +
+
+
+
+ + Y + +
+
+ + + + +
+
+
+ end +
+
+
+
+ + end + +
+
+ + + + + Text is not SVG - cannot display + + +
\ No newline at end of file From 21afbf1d3159f9e159bced54b137fc636c7ded34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90?= <1903771960@qq.com> Date: Tue, 25 Apr 2023 20:29:43 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE=EF=BC=88456?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.drawio.svg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test.drawio.svg b/test.drawio.svg index 428011d..c1c0d56 100644 --- a/test.drawio.svg +++ b/test.drawio.svg @@ -1,4 +1,4 @@ - + @@ -306,6 +306,8 @@ + + From dde8cd4e5712d6ab16de02ff70db30243261ef42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=84=8F=E4=BC=9F?= <1687396619@qq.com> Date: Wed, 26 Apr 2023 19:02:18 +0800 Subject: [PATCH 8/8] . --- README.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 50fb581..66e9a9d 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ | 101 | 李华 | 20 | ``` ###C10: 从文件中读取库存记录 -选择菜单命令 1 ,提示输入文件名,若文件存在,则打开文件读取 CSV 格式保存的所有库存记录;否 +选择菜单命令 1 ,提示输入文件名,若文件存在,则打开文件读取 CSV 格式保存的所有学生成绩记录;否 则,若文件不存在,则给出错误信息并结束。 假设文件 a.csv 中,以 CSV (Comma-Separated Values)格式保存了如下记录: 则读取记录的过程如下: @@ -181,13 +181,9 @@ ------------------------------------------------------- | NUMBER | NAME | ON HAND | ------------------------------------------------------- -| 100 | 打印机 | 10 | -| 101 | 电脑 | 20 | +| 100 | 李芳 | 10 | +| 101 | 李华 | 20 | ------------------------------------------------------- -103,显示器,8 -104,手机,12 -101,电脑,20 -102,打印机,10 请选择:1 读取数据 请输入文件名:a.csv @@ -198,10 +194,8 @@ ------------------------------------------------------- | NUMBER | NAME | ON HAND | ------------------------------------------------------- -| 103 | 显示器 | 8 | -| 104 | 手机 | 12 | -| 101 | 电脑 | 20 | -| 102 | 打印机 | 10 | +| 100 | 李芳 | 10 | +| 101 | 李华 | 20 | ------------------------------------------------------- 1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加 6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出 @@ -218,15 +212,12 @@ a: No such file or directory 请输入文件名:b.csv 保存 4 记录 ``` -###C12: 以图表方式显示库存记录 -选择菜单命令 9 ,以图表方式显示库存记录 +###C12: 以图表方式显示学生成绩记录 +选择菜单命令 9 ,以图表方式显示学生成绩记录 ``` 请选择:9 -图表 -103 : 显示器 | ******** (8) -104 : 手机 | ************ (12) -101 : 电脑 | ******************** (20) -102 : 打印机 | ********** (10) +100 李芳 80 90 70 80 +101 李华 80 80 80 80 1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加 6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出 ```