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