Logical Operators
Logical operators are used for combining condition
&& is AND if ( (x > 5) && (y < 6) )
|| is OR if ( (z == 0) || (x > 10) )
! is NOT if (! (bob ᡢ) )
Previous slide
Next slide
Back to first slide
View graphic version