From 5923b7ca2fda10c360999957a95d0a18f830f3ff Mon Sep 17 00:00:00 2001 From: Cx330 <2011690092@qq.com> Date: Mon, 24 Apr 2023 09:58:03 +0800 Subject: [PATCH] Cx330_ReadScore --- README.md | 5 +++ ReadScore.svg | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 ReadScore.svg diff --git a/README.md b/README.md index ce0d251..2732667 100644 --- a/README.md +++ b/README.md @@ -413,6 +413,11 @@ Step 2.16:if c == 0 then exit #### ReadScore +Step 1:显示提示信息,要求输入学生的学号,姓名和成绩 +Step 2:利用循环,输入学生的学号,成绩和各科成绩 + +![学生信息输入](ReadScore.svg) + #### AverSumofEveryStudent #### AverSumofEveryCourse diff --git a/ReadScore.svg b/ReadScore.svg new file mode 100644 index 0000000..d3ff282 --- /dev/null +++ b/ReadScore.svg @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + ReadScore + (Integer n, Integer m) + + + + + + End + + + + + + + + + + + + + + + Integer i + + + + + + + + Integer j + + + + + + Output “Input student's ID , + name and score:" + + + + + + + + + + + + + + + + Input stu[i].num + + + + + + Input stu[i].name + + + + + + + + + + + Input stu[i].score[j] + + + + + + j = 0 to m-1 + + + + Next + + + Done + + + + + + + i = 0 to n-1 + + + + Next + + + Done + + + + +