有什么区别?
/*if(a<b&&b<c)System.out.println("a<b<c");if(a<c&&c<b)System.out.println("a<c<b");
if(b<a&&a<c)System.out.println("b<a<c");
if(b<c&&c<a)System.out.println("b<c<a");
if(c<a&&a<b)System.out.println("c<a<b");
if(c<b&&b<a)System.out.println("c<b<a");
*/
if(a<b&&b<c)System.out.println("a<b<c");
else if(a<c&&c<b)System.out.println("a<c<b");
else if(b<a&&a<c)System.out.println("b<a<c");
else if(b<c&&c<a)System.out.println("b<c<a");
else if(c<a&&a<b)System.out.println("c<a<b");
System.out.println("c<b<a");