From 2c0d87a10ef6461696b046ff8255861f67c78830 Mon Sep 17 00:00:00 2001 From: zhouyufan <2467848647@qq.com> Date: Sun, 21 May 2023 16:01:47 +0800 Subject: [PATCH] =?UTF-8?q?c11=E6=B5=81=E7=A8=8B=E5=9B=BE=E5=92=8C?= =?UTF-8?q?=E4=BC=AA=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c11.drawio.svg | 169 +++++++++++++++++++++++++++++++++++++++++++++++++ c11伪代码 | 5 ++ 2 files changed, 174 insertions(+) create mode 100644 c11.drawio.svg create mode 100644 c11伪代码 diff --git a/c11.drawio.svg b/c11.drawio.svg new file mode 100644 index 0000000..d8d30a2 --- /dev/null +++ b/c11.drawio.svg @@ -0,0 +1,169 @@ + + + + + + + + + +
+
+
+ main +
+
+
+
+ + main + +
+
+ + + + + +
+
+
+ X>N +
+
+
+
+ + X>N + +
+
+ + + + + +
+
+
+ X<N +
+
+
+
+ + X<N + +
+
+ + + + +
+
+
+
    +
  1. + + + WritetoFile + + +
  2. +
  3. +
+
+
+
+
+ + WritetoFile + +
+
+ + + + +
+
+
+ 结束 +
+
+
+
+ + 结束 + +
+
+ + + + + + +
+
+
+ 输入学号和姓名 +
+
+
+
+ + 输入学号和姓名 + +
+
+ + + + + + +
+
+
+ 输入成绩 +
+
+
+
+ + 输入成绩 + +
+
+ + + + + + +
+
+
+ 保存到student.txt +
+
+
+
+ + 保存到student.txt + +
+
+ +
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file diff --git a/c11伪代码 b/c11伪代码 new file mode 100644 index 0000000..8b27720 --- /dev/null +++ b/c11伪代码 @@ -0,0 +1,5 @@ +11·输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中 +WritetoFile +step1:输入学生的学号和姓名 +step2:查找该学生的所有课程成绩 +step3:将成绩保存到文件student.txt中 \ No newline at end of file