package pfc0330;
import java.util.Scanner;
public class eg1 {
public static <t> void main(String args[]){
int x,y,z,t;
System.out.println("请输入三个整数");
Scanner sc=new Scanner(System.in);
x=sc.nextInt();
y=sc.nextInt();
z=sc.nextInt();
if(x<y){
t=x;x=y;y=t;
}
if(x<z){
t=x;x=z;z=t;
}
if(y<z){
t=y;y=z;z=t;
}
System.out.println("排序后"+x+","+y+","+z+"");
}
}
12-02
1633