Logical operators are usually used with conditional statements which we shall meet in the next Chapter.
The two basic logical operators are:
&& for logical AND,
|| for logical OR.
Beware & and | have a different meaning for bitwise AND and OR