Sequence shaping
This should be sorted by bubbling method.

# include & ltstdio.h & gt

int? main(){

int? a[ 10]; int? I,j,k;

Printf ("input? 10? Number: \ n ");

for(I = 0; I< 10; I++){// Enter ten numbers, and enter 10 times every cycle.

scanf("%d ",& ampa[I]);

printf(" \ n "); //newline

for(j = 0; j & lt9; J++)// From small to large, four lines are wrapped in the classic method.

for(I = 0; I<9; i++)

if(a[I]& gt; a[i+ 1])

{ t = a[I]; a[I]= a[I+ 1]; a[I+ 1]= t; }

printf("the? Classified? Number: \ n ");

for(I = 0; I< 10; i++)

printf("%d ",a[I]);

printf(" \ n ");

}

}

Results demonstration: