Operators
 
Relational operators
 
Relational operators are used to compare two operands and to check whether they are equal, unequal, greater than and lesser than other.
 
There are 6 relational operators:
 
Operator Meaning
< Less than
> Greater than
<= Less than equal to
>= Greater than equal to
== Equal to
!= Not equal to
 
The value of the relational operator is either one or zero. If the relation is true, result is 1 otherwise it is 0.