这段程序有错吗,为啥运行显示没有错误,就是运行不出来,怎么回事?
#include <stdio.h>
int main()
{
int score[10]={67,98,75,63,82,79,81,91,66,84};
int i;
int sum=0;
int number;
if(i=0,i<10,i++)
{
sum+=score[i];
}
return sum;
if(score[i]>score[i+1])
{
score[i]=number;
score[i]=score[i+1];
score[i+1]=number;
}
printf("%d/n",sum);
printf("%d\n",sum/10);
printf("%d/n",score[9]);
printf("%d/n",score[0]);
printf("%d\n",score[i]);
return 0;
}