帮我找下错
#include<stdio.h>#include<stdlib.h>
#define num 50
int main(void)
{
int i;
struct StudentType
{
char ID[11];
char name[50];
char sex[3];
int scor[M];
int phone[11];
int age[2];
}student[50];
for(i=0;i<num;i++)
{
printf("输入学号:\n");
scanf("%s",&students[num].ID);
getchar();
printf("请输入姓名:");
scanf("%s",&students[num].name);
getchar();
printf("请输入平均成绩:");
scanf("%d",&students[num].scor);
getchar();
printf("请输入性别:");
scanf("%s",&students[num].sex);
getchar()
printf("输入电话号码:\n");
scanf("%d",&students[num].phone);
getchar();
printf("输入年龄:\n");
scanf("%d",&students[num].age);
getchar();
}
printf("学号:%d\n",students[num].ID);
printf("姓名:%s"\n",students[num].name);
printf("平均成绩:%d\n",students[num].scor);
printf("性别:%s\n",students[num].sex);
printf("电话号码:%d\n"].s,students[num].phone);
printf("年龄:%s\n",students[num].age);
}