diff --git a/README.md b/README.md index cf04179..89e8582 100644 --- a/README.md +++ b/README.md @@ -249,9 +249,7 @@ void SortbyName(STU stu[],int n,int m) ``` void SearchbyNum(STU stu[],int n,int m) { - long number; - int i,j; - printf("Input the number you want to search:"); + } ``` @@ -259,7 +257,24 @@ void SearchbyNum(STU stu[],int n,int m) ``` void SearchbyName(STU stu[],int n,int m) { - + char x[MAX_LEN]; + int i,j; + printf("Input the name you want to search:"); + scanf("%s", x); + for(i=0;i