#include #include #include const int MAX_STU = 10; struct Stu{ int code; char num[5]; int cla; char name[10]; float mathScore; float phyScore; float engScore; float sumScore; float aveScore; bool isInserted; bool isModified; }; void toCode(struct Stu s[]){ for(int i=0;is[j+1].cla){ struct Stu tem=s[j]; s[j]=s[j+1]; s[j+1]=tem; } } } } for(int i=0;i