#include
void main()
{
int ctr=1,i,j,t;
float sum=0,aver=0;
struct student
{
char name[20];
float grade;
}student[30]={'\0'};
for(i=1;ivoid main(){ int ctr=1,i,j; float sum=0,aver=0;struct student {char name[20];float grade; }student[30]={'\0'},t; for(i=0;i<30;i++)//改过:原来超界了 {printf("please input the %dth student's name and grade!\n",ctr++);scanf("%s%f",student.name,&stud |