`#include [HTML_REMOVED]
// 输入三个整数x,y,z 请把这三个数由小到大输出
// 两两比较的方式输出
int main()
{
int x, y, z, temp;
scanf (“%d%d%d”, &x, &y, &z);
if (x > y) {
temp = x;
x = y;
y = temp;
}
if (x > z) {
temp = x;
x = z;
z = temp;
}
if (y > z) {
temp = y;
y = z;
z = temp;
}
printf(“x = %d\ny = %d\nz = %d\n”, x, y, z);
return 0;
}`