#include<stdio.h>
int main(){
int a,b,c,temp;
scanf("%d%d%d",&a,&b,&c);
if(a>b)
{
temp=a;
a=b;
b=temp;
}
if(b>c)
{
temp=b;
b=c;
c=temp;
}
if(a>b)
{
temp=a;
a=b;
b=temp;
}
printf("%d%d%d",a,b,c);
}
输入三个整数,按从小到大的顺序输出
最新推荐文章于 2023-12-24 05:45:00 发布