#include <stdio.h>
#include <stdlib.h>
int main(void) {
int a, b, c, i, j, t;
scanf_s("%d%d%d", & a, &b, &c);
int m[9]{ a,b,c};
for (i = 0; i < 2; i++)
{
for (j = 0; j < 4 - i - 1; j++)
{
if (m[j] < m[j+1])
{
t = m[j];
m[j] = m[j + 1];
m[j + 1] = t;
}
}
}
for (i = 0; i < 3; i++)
{
printf(" % d\t", m[i]);
}
system("pause");
return 0;
}
10-30
489
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-26
1556
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-14
1439
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-07