You can define a relational expression (i.e. something which normally takes the value True or False) as follows:
Example | Meaning |
a == b | these first three are obvious! |
a < b | |
a >= b | |
a != b | a is not equal to b |
a == b && c < d | a is equal to b AND c is less than d |
a == b || c < d | a is equal to b OR c is less than d |