Exercise:

The switch statement does not work. Try to fix it.

Hint: Do not forget the colon after each case, and end each case with a break; statement.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com