|
|
|
@ -49,9 +49,9 @@ void input(ss*stu){
|
|
|
|
|
stu->student[pst].score = stu->student[pst].score1 + stu->student[pst].score2 + stu->student[pst].score3;
|
|
|
|
|
stu->nums++;
|
|
|
|
|
|
|
|
|
|
printf("continue?\n");
|
|
|
|
|
printf("continue?(y/n)\n");
|
|
|
|
|
scanf("%s",tmp);
|
|
|
|
|
}while(!strcmp(tmp,"yes"));
|
|
|
|
|
}while(!strcmp(tmp,"y"));
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -164,11 +164,11 @@ void ModifyInfo(ss *stu)
|
|
|
|
|
}
|
|
|
|
|
int class = atoi(min);
|
|
|
|
|
class++;
|
|
|
|
|
itoa(class,min,10);
|
|
|
|
|
sprintf(min,"%d",class);
|
|
|
|
|
} while (strcmp(max, min) >= 0);
|
|
|
|
|
printf("continue?\n");
|
|
|
|
|
printf("continue?(y/n)\n");
|
|
|
|
|
scanf("%s", tmp);
|
|
|
|
|
}while (!strcmp(tmp, "yes"));
|
|
|
|
|
}while (!strcmp(tmp, "y"));
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|