Inside the block we have case labels. This is a case keyword with a constant expression such as an integer.

The case expression is compared to the switch expression. If the comparison evaluates to true, the code in the case block is executed.

As we defined the num variable as an int, we can't use a string in the case evaluations.