From c6a74ee017fd11e5c85fffe5c479aecbb5c1f141 Mon Sep 17 00:00:00 2001 From: tong tong zhang Date: Sun, 21 May 2023 17:13:10 +0800 Subject: [PATCH] 1 --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 0dbce47..6bdf949 100644 --- a/README.md +++ b/README.md @@ -357,31 +357,31 @@ PrintScore WritetoFile 输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中 - + ReadfromFile 从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中 详细设计 针对概要设计 ## main -Step 1:初始化 -Step 2:根据用户选择的命令执行相应的操作 -Step 2.1:显示菜单 -Step 2.2:选择菜单命令 c -Step 2.3:if c == 1 then ReadScore -Step 2.4:if c == 2 then AverSumofEveryStudent -Step 2.5:if c == 3 then AverSumofEveryCourse -Step 2.6:if c == 4 then SortbyScore(Descending) -Step 2.7:if c == 5 then SortbyScore(Ascending) -Step 2.8:if c == 6 then AsSortbyNum -Step 2.9:if c == 7 then SortbyName -Step 2.10:if c == 8 then SearchbyNum -Step 2.11:if c == 9 then SearchbyName -Step 2.12:if c == 10 then StatisticAnalysis -Step 2.13:if c == 11 then PrintScore -Step 2.14:if c == 12 then WritetoFile -Step 2.15:if c == 13 then ReadfromFile -Step 2.16:if c == 0 then exit +Step 1:初始化, +Step 2:根据用户选择的命令执行相应的操作, +Step 2.1:显示菜单, +Step 2.2:选择菜单命令 c, +Step 2.3:if c == 1 then ReadScore, +Step 2.4:if c == 2 then AverSumofEveryStudent, +Step 2.5:if c == 3 then AverSumofEveryCourse, +Step 2.6:if c == 4 then SortbyScore(Descending), +Step 2.7:if c == 5 then SortbyScore(Ascending), +Step 2.8:if c == 6 then AsSortbyNum, +Step 2.9:if c == 7 then SortbyName, +Step 2.10:if c == 8 then SearchbyNum, +Step 2.11:if c == 9 then SearchbyName, +Step 2.12:if c == 10 then StatisticAnalysis, +Step 2.13:if c == 11 then PrintScore, +Step 2.14:if c == 12 then WritetoFile, +Step 2.15:if c == 13 then ReadfromFile, +Step 2.16:if c == 0 then exit, ## 详细设计 ![系统模块图](xitong.drawio.svg)