1.
import java.util.Scanner;
public class p79 {
public static void main(String[] args) {
int i = 0;
int j = 0;
int k = 0;
int x = 0;
System.out.print("请输入三个数\n");
Scanner input = new Scanner(System.in);
i = input.nextInt();
j = input.nextInt();
k = input.nextInt();
if (i > j) {
x = i;
i = j;
j = x;
}
if (i > k) {
x = i;
i = k;
k = x;
}
if (j > k) {
x = j;
j = k;
k = x;
}
System.out.println(i + ", " + j + ", " + k);
}
}
23数媒2班 202306312358 王宗汉