Ajax-loader-large-white
Control Flow: Switch
All On Your Own!

It's time to show what you have learned about switches so far!

Instructions

Create a switch statement with 3 different cases and a default case if you wish. Feel free to use the alternative syntax as well!

?
Stuck? Get a hint! Hint
Get live, fast support from Codecademy Advisors when you get stuck. Learn more.

Feel free to check back to the previous exercises, but here's a small reminder:

switch (X) {
    case X:

        break;
    default:

}
index.php
project
View Preview