package operator;

public class Demo05 {
public static void main(String[] args) {

//三元运算符 x?y:z
int score = 80;
String type = score > 60 ? "及格" : "不及格";
System.out.println(type);

int a = 2;
int b = 5;
System.out.println(a + b);
System.out.println(a * (b - a));
}
}