哪里错了?
#include<stdio.h>void main()
{
int a[30]={6,9,12,15,19,23,45,67,89,98},ma,i,p;
printf("请输入一个数");
scanf("%d",&ma);
for(i=0;i<=9;i++)
if(ma<=a[i]) break;
for(p=9;p<=i;p--)
a[p+1]=a[p];
a[i]=ma;
printf("插入后数列为:");
for(i=0;i<=10;i++)
printf("%3d",a[i]);
}