void test5()
{
int x, y, z, temp;
printf("请输入三个整数");
scanf("%d%d%d", &x, &y, &z);
if (x > y)
{
temp = x;
x = y;
y = temp;
}
else if (x > z)
{
temp = x;
x = z;
z = temp;
}
else if (y > z)
{
temp = y;
y = z;
z = temp;
}
else
{
printf("输出错误");
}
printf("%d,%d,%d\n", x, y, z);
}
void test5()
{
int x, y, z, temp;
printf("请输入三个整数");
scanf("%d%d%d", &x, &y, &z);
if (x > y)
{
temp = x;
x = y;
y = temp;
}
else if (x > z)
{
temp = x;
x = z;
z = temp;
}
else if (y > z)
{
temp = y;
y = z;
z = temp;
}
else
{
printf("输出错误");
}
printf("%d,%d,%d\n", x, y, z);
}