Can you think of ways to shorten this code snippet?

We could declare and initialize n in a single stepWe could use a logical and to reduce the number of if statementsWe could print "A tweener!" without creating outputWe could omit the braces in the second if statement

Fantastic! The only thing that we can't do is omit the braces (unless we reduced the block to a single statement).

Oh, snap! The only thing that we can't do is omit the braces (unless we reduced the block to a single statement).