#include <stdio.h>
int main()
{ int a,b,c,t;
while(scanf("%d%d%d",&a,&b,&c)!=EOF)
{
if(a<b)
else {t=a;b=t;a=b;}
if(a<c)
else {t=a;c=t;a=c;}
if(b<c)
else {t=b;c=t;b=c;}
printf("%d %d %d\n",a,b,c);
}
return 0;
}
编译的时候提示illegal else without matching if 怎么改正?