Complementing a Condition
Comlementing or negating a logical expression means changing the polarity.
Examples:
!(a == 30) is equivalent to (a != 30)
!(a > b) is equivalent to (a <= b)
Previous slide
Next slide
Back to first slide
View graphic version