| Symbol | Meaning | Example | Result |
|---|---|---|---|
| > | Greater than | 8 > 5 1 > 2 |
True False |
| < | Less than | 1 < 2 'An' > 'Binh' |
True False |
| >= | Greate than or equal | 100 >=100 14 >=7 |
True True |
| <= | Less than or equal | 100 <= 100 27 <= 7 |
True False |
| Expression1 | Expression2 | Expression1 and Expression2 | Expression1 or Expression2 |
| True | True | True | True |
| True | False | False | True |
| False | True | False | True |
| False | False | False | False |
| Expression | Not Expression |
| True | False |
| False | True |