标签:
#include<stdio.h>
main()
{
int a,b,c,t;
printf("please input a,b,c:\n");
scanf("%d%d%d",&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("the order ofteh number is:\n");
printf("%d%d%d",a,b,c);
}
标签:
原文地址:http://www.cnblogs.com/flywolf601/p/5865717.html