Code:
printf("\nThe numbers from highest to lowest are: ");
for(x=0;x<=8;x++)
for(y=x+1;y<=9;y++)
if(num[x]>num[y]){even = num[x];
num[x]=num[y];
num[y]=even;
}
for(x=0;x<=9;X++)
printf("\n%d",num[x]);


