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 |
13 / 21
Operator | Description | Example | Result |
---|---|---|---|
&& | And | 5 > 4 && 7 > 6 && 3 > 4 | false |
|| | Or | 5 > 6 || 1 > 2 || 3 > 2 | true |
! | Not | !(3 > 2) | false |
13 / 21