输出最高的分数有这一段看不懂
int gao(int score[])
{
int i;
for(i=0;i<9;i++)
{
if(score[i]>score[i+1])
score[i+1]=score[i];
}
printf("%d\n",score[i]);
}
int gao(int score[])
{
int i;
for(i=0;i<9;i++)
{
if(score[i]>score[i+1])
score[i+1]=score[i];
}
printf("%d\n",score[i]);
}
2018-01-12
举报