Logical Operators
Operator | Description | Example | Result |
---|---|---|---|
&& | And | 5 > 4 && 7 > 6 && 3 > 4 | false |
|| | Or | 5 > 6 || 1 > 2 || 3 > 2 | true |
! | Not | !(3 > 2) | false |
11 / 19
Operator | Description | Example | Result |
---|---|---|---|
&& | And | 5 > 4 && 7 > 6 && 3 > 4 | false |
|| | Or | 5 > 6 || 1 > 2 || 3 > 2 | true |
! | Not | !(3 > 2) | false |
11 / 19