我先按插入一个数n作的!但是有错误阿!45处错误!!!


#include "stdio.h"
void main()
{
int i,j,n;
static int a[10]={1,3,5,7,9};
printf("请输入n=");
scanf("%d",&n);
for(i=0;i<10;i++)
{
if(a[i]>n)
{
for(j=5;j>i;j--)
{
a[j]=a[j-1];
}
a[i]=n;
break;
}
}
for(i=0;i<10;i++)
printf("%d",a[i]);
}
什么地方错了阿?