#include<stdio.h>
#include<math.h>
int main()
{int n,i,j,a[10];
for(i=0;i<10;i++)
scanf("%d",&a[i]);
for(i=0;i<10;i++)
{for(j=i+1;j<10;j++)
{if(a[i]>a[j])
{n=a[i];
a[i]=a[j];
a[j]=n;
}
}
}
for(i=0;i<10;i++)
printf("%d\n",a[i]);
return 0;
}
标签:10,main,return,int,iprintf,29.1307,include From: https://blog.51cto.com/u_15758636/5887811