#include <stdio.h>
int main()
{
double a, b, c, t;
scanf("%lf%lf%lf", &a, &b, &c);
if (a > b)
{
t = a;
a = b;
b = t;
}
if (a > c)
{
t = a;
a = c;
c = t;
}
if (b > c)
{
t = b;
b = c;
c = t;
}
printf("%.2f %.2f %.2f", a, b, c);
return 0;
}
07-21
502
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-18
373
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交