C语言班级成绩管理系统 下载本文

scanf(\ if(c=='n'||c=='N')

} }while(1);

{ }

flag=1;break;

if(flag==0) modi(s,n); }

void modi (struct stu c[],int n1) {

int num,ch; int i,j;

printf(\ scanf(\ getchar(); for(i=0;i=n1)

printf(\ else

{

printf(\

ch=getchar();getchar(); if(ch=='y'||ch=='Y')

{

printf(\

scanf(\ getchar();

}

printf(\ // ch=getchar();getchar(); if(ch=='y'||ch=='Y')

29

{

printf(\

scanf(\ getchar();

}

printf(\ ch=getchar();getchar(); if(ch=='y'||ch=='Y')

{

printf(\

for(j=0;j

{

scanf(\

getchar();

}

}

}return;

}

30