我是写的一个比较大小并输出的程序,能输出但是不能比对大小,请各位大佬指正
#include <stdio.h>int main()
{
int x, y, z, t;
scanf("%d %d %d", &x, &y, &z);
if (x < y)
{
t = x;
}
if (z < t)
{
x = z;
z = t;
}
printf("%d < %d < %d", x, y, z);
return 0;
}
2018-08-13 15:57
2018-08-13 16:01
2018-08-13 16:04
2018-08-13 16:18
2018-08-13 16:19

2018-08-13 16:21
2018-08-13 16:22
看不到额
2018-08-13 21:22