检查c程序问题
请帮忙检查下面程序错在哪里,谢了~~ for(i=0;i<10;i++)
scanf("%d",&a[i]);
}
sort(int b[11])
{
int i,j,t;
for(i=0;i<9;i++)
for(j=0;j<9-i;j++)
if(b[j]<B[J+1])
{
t=b[j];
b[j]=b[j+1];
b[j+1]=t;
}
}
search(int c[11])
{
int low=1,high=10,mid,n;
printf("Enter a integers:\n");
scanf("%d",&n);
while(low<=high)
{
mid=(low+high)/2;
if(c[mid]==n)
break;
if(c[mid]>n)
low=mid+1;
else high=mid-1;
}
}
main()
{
int d[11],low,high,mid,i,n;
printf("Enter 10 interger:\n");
sizs(d);
sort(d);
if(n==1)
printf("zidi %d ge",mid+1);
else
{
for(i=9;i>=low;i--)
{
d[i+1]=d[i];
d[low]=m;
}
for(i=0;i<11;i++)
printf("%d",d[i];
}
getch();
}