Relational Operators are used to compare the values of the variables and return true or false accordingly.
Relational Operators are:
1. Less than(<) | Returns true if value of left hand side operand is less than the value of right side operand else return false. |
2. Greater than (>) | Returns true if value of right hand side operand is greater than the value of left side operand else return false. |
3. Less than equal to(<=) | Returns true if value of left hand side operand is less than or equal to the value of right side operand else return false. |
4. Greater than equal to(>=) | It returns true if value of right hand side operand is greater than or equal to the value of right side operand else return false. |
5. Equal to(==) | Returns true if value of left hand side operand is equal to the value of right hand side operand else return false. |
6. Not Equal to (!=) | Returns true if value of left hand side operand is not equal to the value of right hand side operand else return false. |