!(a || b)
The expression is to true
when a || b
is false
. a || b
is false
when both a
and b
are false
. The expression evaluates to true
when both a
and b
are false
.
This demonstrates De Morgan’s Law.
Navigation
Exercise 12 solution
Exercise 14 solution
Exercises
All solutions