public class Text4 {
public static void main(String[] args) {
int a=9;
int b=60;
int c=20;
int d=50;
if(a>b){
int t=a;
a=b;
b=a;
}
if(c>d){
int f=c;
c=d;
d=f;
}
if(c<a){
if(d<a){
System.out.println(c+","+d+","+a+","+b);
}else if(d>b){
System.out.println(c+","+a+","+b+","+d);
}else{
System.out.println(c+","+a+","+d+","+b);
}
}
if(c>a&&c<b){
if(d<b){
System.out.println(a+","+c+","+d+","+b);
}else{
System.out.println(a+","+c+","+b+","+d);
}
}
if(c>b){
System.out.println(a+","+b+","+c+","+d);
}
}
}
02-21
2106
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-13
4万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)