Comparison Operators Flashcards
Operators that we are using to compare two values or
objects.
Comparison Operators
It return either TRUE or FALSE according to
the condition.
Comparison Operators
These operators compare the values on either sides of them and
decide the relation among them.
Comparison Operators
They are also called RELATIONAL OPERATORS.
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