From 7284cd53edd43dc1a4b5c7a157a26808cf0b937f Mon Sep 17 00:00:00 2001 From: Cx330 <2011690092@qq.com> Date: Tue, 25 Apr 2023 20:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 224e980..a277907 100644 --- a/README.md +++ b/README.md @@ -458,8 +458,19 @@ step 4:总分,平均分,学号,姓名依次交换 #### SearchbyNum +Step 1:利用for循环给 i 赋值为 0 +Step 2:利用 if 条件判断学号是否一致 +Step 3:利用二次循环找出所有符合条件的学生 +Step 4:利用if条件语句能否找到该学生 +![按学号查找学生成绩并显示查找结果](SearchbyNum.svg) + #### SearchbyName +Step 1:利用for循环给 i 赋值为 0 +Step 2:利用 if 条件和循环判断是否有此学生并显示结果 + +![按姓名查找学生成绩并显示查找结果](SearchbyName.svg) + #### StatisticAnalysis Step 1:将数组 t 的全部元素初始化为0