#include #include struct stu { char num[6]; char class[3]; char name[6]; float grade1; float grade2; float grade3; float grade; }s[10],ss; int main() { int bb=0; while(1) { printf("1.input\n"); printf("2.delete\n"); printf("3.select\n"); printf("4.order\n"); printf("5.output\n"); printf("6.quit\n"); printf("please intput your option\n"); int input; scanf("%d",&input); if(input==1) { char ch[6]; int i=0; while(1) { printf("Id "); scanf("%s",s[i].num); printf("class "); scanf("%s",s[i].class); printf("name "); scanf("%s",s[i].name); printf("score1 "); scanf("%f",&s[i].grade1); printf("score2 "); scanf("%f",&s[i].grade2); printf("score3 "); scanf("%f",&s[i].grade3); printf("continue?\n"); i++; for(int j=0;j0) { ss=s[i]; s[i]=s[j]; s[j]=ss; } } } for(int i=0;i<1;i++) { for(int j=i+1;j<2;j++) { if(s[i].grade