If userTickets > 6, execute awardPoints = 10. Else, execute awardPoints = userTickets.
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
if (userTickets > 6) awardPoints = 10; else awardPoints = userTickets;