#includestruct Student{
int ID;
char name[30];
int Chinese, Math, English;}stu[3];int main(){
int i,total = 0;
FILE *fp = fopen("XXX.txt","r"),*fp2 = fopen("out.txt","w");
if(fp == NULL || fp2 == NULL) exit(-1);
for(i = 0;i < 3;++i){
fscanf(fp,"%d%s%d... |
|