#include <stdio.h>
int main()
{
int a,b,c,min,med,max,i;
{
printf("请输入三个整数a,b,c:\n");
scanf("%d%d%d",&a,&b,&c);
if(a>=b)
{
max=a;
min=b;
}
else
{
min=a;
max=b;
}
if(c>=max)
max=c;
else
{
if(c>min)
med=c;
else
min=c;
}
printf("这些数字从小到大顺序为:%d<%d<%d\n",min,med,max);
}
return 0;
}