|
|
@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
// 12函数功能:按学号查找学生成绩并显示查找结果
|
|
|
|
|
|
|
|
void SearchbyNum(STU stu[], int n, int m)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
long number;
|
|
|
|
|
|
|
|
int i, j;
|
|
|
|
|
|
|
|
printf("Input the number you want to search:");
|
|
|
|
|
|
|
|
scanf("%ld", &number);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ---------- begain ---------- */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------- end ----------- */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
printf("\nNot found!\n");
|
|
|
|
|
|
|
|
}
|