这是哪错了,运行失败
#include<stdio.h>
int main()
{
int hight[10]={178, 177, 182, 179, 185, 175, 186, 177, 181, 180};
int i,j,max,n;
for(j=0;j<=9;j++)
{
for(i=0,i<=8,i++)
{
if(hight[i]>hight[i+1])
{
max=hight[i];
hight[i]=hight[i+1];
hight[i+1]=max;
}
}
}
for(n=0;n<=9;n++)
{
printf("%d",hight[n]);
}
return 0;
}