三个整数由小到大输出那里错了
#include<stdio.h>void main()
{
int x,y,z,t;
printf("please input tree numbers:\n");
scanf("x=%d,y=%d,z=%d\n",&x,&y,&z);
if(x>y)
{
t=x;
x=y;
y=t;
}
if(x>z)
{
t=x;
x=z;
z=t;
}
if(y>z)
{
t=y;
y=z;
z=t;
}
printf("samll to big is :\n%d %d %d",x,y,z);
}