#P1089. 分支 - 客观题003
分支 - 客观题003
填空题 - 填入运算结果(Java语言、赋值后后面的语句依次执行)
(1) x = 1; y = 2;
!(x < y)
: {{ input(1) }}
x >= y
: {{ input(2) }}
!(x > y) == x <= y
: {{ input(3) }}
(2) a和b为布尔类型
!(a && b) == (!a || !b)
: {{ input(4) }}
!(a || b) == (!a && !b)
: {{ input(5) }}
(3) a和b为布尔类型
(a || a && b) == a
: {{ input(6) }}
(a && (a || b)) != a
: {{ input(7) }}