This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Control Flow: Switch Forum

View Course » View Exercise

53 points
Picture
Submitted by
DeneƩ Lee
over 3 years ago

Control Flow Switch

So I kind of understand the concept of switches... But can someone kindly give me a real world application? I am trying to think who I may personally use this in my own website to use or in a business website & I just can't think of anything. Forms?


0 votes

permalink

cases and switches are used for purposes depending on the users decisions... for example.... you made a survey for your website and the user selected a certain option then you would have more cases and switches going to that case.

565 points
5365f5529c4e9d7ace002ad5_231574017
Submitted by
Bernard Kelly
over 3 years ago