comparison | true | false |
---|---|---|
17 = 17 | X | |
17 < 15 | X | |
17 <= 15 | X | |
12 > 12 | X | |
12 >= 12 | X | |
12 <> 17 | X |
If you sometimes get these confused, notice that the small end of the symbols < and > have to point at the smallest number for the result to be "true":
small number < big number —— true
big number > small number —— true
Decide on TRUE or FALSE for each of the following:
comparison | true | false |
---|---|---|
-5 = -5 | ||
-5 < 5 | ||
-5 <= 15 | ||
12 > -12 | ||
12 >= -12 | ||
12 <> -17 |