Post an example of either an extended if statement OR a switch statement.
Provide the statement code, along with the declaration of any constants/variables used by the code. You do NOT need to write an entire program.
Then discuss the pros and cons of using an extended if statement vs. using a switch statement.
Post your response as a REPLY to this message.