程序为:
int a=2,b=5,c=7;
if(a>c)
   b=a;
   a=c;
   c=b;
System.out.println("a="+a+",b="+b+",c="+c);