Control Statements
Relational Operators
Relational operators
Operator | Name | Returns a true value if |
---|---|---|
== | Equality | Both operands are equal. |
!= | Inequality | The left and right operands are not equal. |
> | Greater Than | The left operand is greater than the right operand. |
< | Less Than | The left operand is less than the right operand. |
>= | Greater Than Or Equal | The left operand is greater than or equal to the right operand. |
<= | Less Than Or Equal | The left operand is less than or equal to the right operand. |