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 + + + + +