include <stdio.h>
int main (void)
{
int a[100],n,x,k;
for (n = 0;n < 30;n++)
a[n] =100 - n;
for (x = 0;x < 29;x++)
for (k = 0;k < 29;k++ )
if (a[x] < a[x + 1])
{
int h = a[x];
a[x] = a[x + 1];
a[x + 1] = h;
}
for (x = 0;x < 30; x++)
printf ("%d ",a[x]);
if (x + 1)%10 = 0 //这的求余运用错在那了啊
printf("\n");
getchar ();
return 0;
}