|
|
@ -394,7 +394,19 @@ Step 1:初始化
|
|
|
|
Step 2:根据用户选择的命令执行相应的操作
|
|
|
|
Step 2:根据用户选择的命令执行相应的操作
|
|
|
|
Step 2.1:显示菜单
|
|
|
|
Step 2.1:显示菜单
|
|
|
|
Step 2.2:选择菜单命令 c
|
|
|
|
Step 2.2:选择菜单命令 c
|
|
|
|
Step 2.3:if 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
|
|
|
|
|
|
|
|
Step 2.7:if c == 5 then SortbyScore
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
![系统模块图](main函数详细实现.drawio.svg)
|
|
|
|
![系统模块图](main函数详细实现.drawio.svg)
|
|
|
|
|
|
|
|
|
|
|
|