if ('y' == answer or 'Y' == answer) { if (hoursWorked > 40) { ... } else { ... } } else { ... }
get player 1 choice get player 2 choice if player1 is paper if player 2 is paper print tie else if player 2 is scissors print player 2 wins else if player2 is rock print player1 wins else ...
if (exp1) { statements; } else if (exp2) { statements; } else if (exp3) { statements; ... } else { statements; }