#include<stdio.h>
int main()
{
int a = 0;
int b = 0;
int c = 0;
printf("请输入abc的值:");
scanf_s("%d%d%d", &a, &b, &c);
if (b > a)
{
int tmp = a;
a = b;
b = tmp;
}
if (c > a)
{
int tmp = a;
a = c;
c = tmp;
}
if (b < c)
{
int tmp = c;
c = b;
b = tmp;
}
printf("%d>%d>%d", a, b, c);
return 0;
}