Loading video...
Equality, Relational, & Logical Operators
- The == operator tests for equality; remember not to use = for this
- The other relational operators are != (not equal to), < (less than), <= (less than or equal to), > (greater than), and >= (greater than or equal to)
- Logical AND operator is &&; a && b is true only if a is true and b is also true
- Logical OR operator is ||; a || b is true if either a is true or b is true (or both are true)
- Logical NOT operator is !; !a is true is a is false; !a is false if a is true
Equality, Relational, & Logical Operators
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview