Logical Operators
x y x && y x || y !x 1 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 0 0 0 1
Zero (0) denotes false; any nonzero values (e.g. 1, 7, or -2) denotes true.
Previous slide
Next slide
Back to first slide
View graphic version