三个操作数——if-else 赋值的简写形式。
variable x = (expression) ? value if true : value if false;
b = (a == 1) ? 20 : 30;
b = (a == 10) ? 20 : 30;