System.out.println((5 < 6) & true);
System.out.println((5 <= 6) | false);
System.out.println(!(5 <= 6));
System.out.println((true) ^ (false));
int testInt1 = 5;
int testInt2 = 4;
System.out.println(false && (--testInt1 == testInt2));
System.out.println("testInt1:" + testInt1);
System.out.println(false || (--testInt1 == testInt2));
System.out.println("testInt1:" + testInt1);
int score = 70;
String result = score > 60 ? "考试合格" : "考试不合格";
System.out.println(result);
int b = 50;
int c = 60;
int d = 70;
int res0 = b > c ? b : c;
int res1 = res0 > d ? res0 : d;
System.out.println(res1);
Scanner scanner = new Scanner(System.in);
System.out.println("请录入布尔类型值:");
boolean b0 = scanner.nextBoolean();
System.out.println("你录入的布尔类型变量值为:" + b0);
System.out.println("请输入您的年龄:");
int b1 = scanner.nextInt();
System.out.println("您录入的年龄为:" + b1);
