两个数从大到小排列输出 超级摆烂王 2022-03-30 123 阅读1分钟 #include<stdio.h> int main() { int m,n,t; scanf("%d%d",&n,&m); if(n<m) { t=m;//把m(大的数)赋值给t,m空出来了 m=n;//把n(小的数)赋值给m n=t;吧t即大的那个数赋值给空出来的n } printf("%d %d",n,m); return 0; }