#include
int main()
{
int a,b,c;
printf("input three numbers:\n");
scanf("%d,%d,%d",&a,&b,&c);
if(a>b)
{
int d;
d=b;
b=a;
a=d;
}
else if(b>c)
{
int e;
e=c;
c=b;
b=e;
}
else if(a>c)
{
int f;
f=c;
c=a;
a=f;
}
printf("%d %d %d\n",a,b,c);
return 0;
}
阅读(1403) | 评论(0) | 转发(0) |