August 2004
Intermediate to advanced
480 pages
9h 41m
English
There are relational operators used for testing whether a value is greater than or equal to another value. They are shown in Table 7-1.
| OPERATION | OPERATOR | EXAMPLE |
|---|---|---|
| Equal to | == | (x == 1) |
| Not equal to | != | ( a!= b) |
| Less than | < | ( i < 10 ) |
| Greater than | > | ( i > j ) |
| Less than or equal to | <= | (j <= 10) |
| Greater than or equal to | >= | ( x >= y) |
Read now
Unlock full access