<初学者>一个程序调试出错,请高手指正
#include <stdio.h>main()
{int score;
char grade;
printf("输入成绩");
scanf("%d",&score);
grade=stog(score);
printf("xcore%d is grade%c\n",score,grade);
}
stog(s)
int s;
{if (s>90) return('A');
else if(s>80) return('B');
else if(s>70) return ('C');
else if(s>60 return ('D');
else return('E');
}