急!菜鸟,高手一起进呀!
下面这个程序是输入,输出学生数据,哪儿错了!#include<stdio.h>
void main()
{
char name[10];
int number;
int Chinese,Math,English,Average;
printf("Please input the dates:\n");
scanf("%s%d%d%d%d",name,&number,&Chinese,&Math,&English);
Average=(Chinese+Math+English)/3;
printf("Studet:%s;Number:%d;Chinese:%d;Math:%d;English:%d;
Average:%d\n",name,number,Chinese,Math,English,Average);
getch();
}