for(j=0;j if(stu[j].score[2] temp=stu[j]; stu[j]=stu[j+1]; stu[j+1]=temp; } } } sort_type=4; break; } case 5: { for(i=0;i for(j=0;j if(stu[j].avg temp=stu[j]; stu[j]=stu[j+1]; stu[j+1]=temp; } } } sort_type=5; break; } } system(\ waiting(); homepage(); } void waiting() { int i; printf(\请稍侯...........\ for(i=0;i<25;i++) { switch(i%4) { case 1:printf(\ case 2:printf(\ case 3:printf(\ case 0:printf(\ } Sleep(100); } system(\} void quit() { system(\ printf(\ printf(\┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\\n\ printf(\┃************************************************************┃\\n\ printf(\┃* *┃\\n\ printf(\┃* 谢谢使用本程序 *┃\\n\ printf(\┃************************************************************┃\\n\ printf(\┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\\n\\n\ }