<code>!(a || b)</code> is equivalent to
- A
a && b
- Bcheck_circle
!a && !b
- C
!a || !b
- D
a || !b
Explanation
De Morgan: not (A or B) = (not A) and (not B).
AP Computer Science A· difficulty 4/5
<code>!(a || b)</code> is equivalent to
a && b
!a && !b
!a || !b
a || !b
Explanation
De Morgan: not (A or B) = (not A) and (not B).
Want 10 more like this — adaptive to your weak spots?