#include <stdio.h> | ||
2 | 4 : | int main() |
3 | : | { |
4 | : | int a, b, c; |
5 | 4 : | scanf("%d %d",&a,&b); |
6 | : | |
7 | 4 : | if(a<b) |
8 | : | { |
9 | 2 : | c=a; |
10 | 2 : | a=b; |
11 | 2 : | b=c; |
12 | : | } |
13 | : | |
14 | 4 : | printf("%d %d",a,b); |
15 | : | |
16 | 4 : | return 0; |
17 | : | } |
18 | : |
07-06
5091
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交