Relation operators describe the relationship between two
operands. In other words it is used to compare two operands. Greater than, less
than, equal to are the relational operators.
Relational operators are works
with two operands. If the condition (relation) is true than value is 1 (one) otherwise
value is 0 (zero).
The list of relational operators is as follows:
Operator
|
Definitions
|
==
|
Equal to
|
!=
|
Not equal to
|
>
|
Greater than
|
<
|
Less than
|
>=
|
Greater than, equal to
|
<=
|
Less than, equal to
|
No comments:
Post a Comment