There's more than one prints but for different conditions, is this correct?

Question

There’s more than one prints but for different conditions, is this correct?

Answer

Looks like you forgot a break. Make sure at the end of each of your cases, before the next one, you have break. This keeps the code from going to the next case and tells the switch that you’re done.