COMPARISON OPERATORS Flashcards
Operators that we are using to compare two values or objects. It return either TRUE or FALSE according to the condition.
COMPARISON OPERATORS
If the values of two operands are equal, then the condition becomes TRUE
EQUAL TO
If values of two operands are not equal, then condition becomes TRUE.
NOT EQUAL TO
If the value of left operand is greater than the value of the right operand, then condition becomes TRUE.
GREATER THAN
If the values of the left operand is less than the value of right operand, then condition becomes TRUE.
LESS THAN
If the value of left operand is greater than or equal to the value of right operand, then condition becomes TRUE.
GREATER THAN OR EQUAL TO
If the value of left operand is less than or equal to the value of right operand, then condition becomes TRUE.
LESS THAN OR EQUAL TO