What to do

Someone gets in only if they are 18 or over AND they have a ticket.

age is 20 and hasTicket is true, so show Come in. If either part fails, show Sorry.

Write it as one decision, not two separate ones.

Your code Pseudocode
Output

Press Run to see what your code does.

Stuck on the idea rather than the typing? The lesson behind this set is Conditions & Branching on Learn to Write Code.