{
int i,j,temp
for(I = 0; I< num-1; i++)
for(j = I+ 1; j & ltnumj++)
if(a[I]& gt; a[j])
temp = a[I];
a[I]= a[j];
a[j]= temp;
}