Example 1 — Evaluate a combined condition
Show the steps and the answer
Evaluate the comparison: 15 >= 16 is false.
Comparisons become true or false before any AND or OR is applied.
Evaluate the bracket: false AND true = false.
AND needs both parts true, and the age part is false.
Evaluate the whole condition: false OR false = false.
OR needs at least one true part, and with isMember false there is none.
With isMember = true: false OR true = true.
One true part is enough for OR, so membership lets this 15-year-old in.
Answer: False when isMember is false; true when isMember is true.
Takeaway: Turn each comparison into true or false first, then apply the operators, brackets first.