#include#include#define N 5int main(){ int a[N],i,j,temp; for(i=0;i scanf("%d",&a[i]); } for(i=0;i for(j=0;j if(a[j] temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } for(i=0;i printf("%d ",a[i]); printf("\n"); return 0;}/*运行结果:3 8 4 7 68 7 6 4 3*/