Logical Operators
Let's understand the purpose of logical operators!
We'll cover the following
Logical operators are used to manipulate the logic of Boolean expressions.
Operator | Purpose | Notation |
---|---|---|
and |
AND | In-fix |
or |
OR | In-fix |
not |
NOT | Prefix |
Logical Expressions #
Logical expressions are formed using Booleans and logical operators.
Below, we can find some examples: