According to Stanford:
When an operand is surrounded by operators of equal precedence, the operand associates to the right.
If I follow the above rule,
- “[You cannot ride the roller coaster] if [you are under 4 feet tall] unless [you are older than 16 years old.]”
means
- $ Q \mathbf{\text{ if }} (R \mathbf{\text{ unless }} S),$
but the correct answer is
- $(Q \mathbf{\text{ if }} R) \mathbf{\text{ unless }} S.$
How to approach word problems whose operands have equal precedence?
Both the keywords if and unless generate implication:
(Q if P) $\leftrightarrow$ (P $\to$Q)
(P unless Q) $\leftrightarrow$ ($\lnot Q \to P$).