From 3cb5288b7257d84032504a403d496af97be2e239 Mon Sep 17 00:00:00 2001 From: Cx330 <2011690092@qq.com> Date: Tue, 25 Apr 2023 20:40:20 +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 | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5c7ef03..f05c78f 100644 --- a/README.md +++ b/README.md @@ -572,7 +572,7 @@ int main(void) int n = 0,m = 0; STU stu[STU_NUM]; printf("Input student number(n<%d):",STU_NUM); - scnaf("%d",&n); + scanf("%d",&n); printf("Input course number(m<=%d):",COURSE_NUM); scanf("%d",&m); while(1) @@ -615,7 +615,7 @@ int main(void) case 13:ReadfromFile(stu,&n,&m); break; case 0: printf("Are you sure you want to exit?(Y/N):"); - printf("End of program!); + printf("End of program!"); exit(0); default:printf("Input error!"); } @@ -656,7 +656,7 @@ void ReadScore(STU stu[],int n,int m) { int i,j; printf("Input student's ID ,name and score:\n"); - for(i=0,i