Demorgan’s Laws

Demorgan’s Laws are rules that show how we can negate “and”s and “or”s in compound boolean statements.

!(tallEnough && oldEnough) == !tallEnough || !oldEnough not( a and b ) is the same as not a or not b not( a or b) is the same as (not a) and (not b)