public class Test08 {
public static void main(String[] args) {
System.out.println("请输入");
Scanner s = new Scanner(System.in);
int num = s.nextInt();
System.out.println("请输入第二个数");
int num1 = s.nextInt();
System.out.println("请输入第三个数");
int num2 = s.nextInt();
int tmp = num>num1 ? num :num1;
int max = tmp>num2 ? tmp :num2;
System.out.println("max: " +max);