We can combine multiple conditions using AND (&&) and OR (||) operators for complex logic. To demonstrate, let's look at qualifying criteria for an imaginary gaming tournament:
A player qualifies for our gaming tournament if they meet at least one of the following criteria:
We can combine these two criteria into a single condition using the OR (||) operator: criteria 1 OR criteria 2.
Complete the attached code sample by combining the two conditions using the OR operator.
Output (Console)