this is quite simple.
When you run this and switch gets hit, it prompts the user to input What the weather is like?
And based on the input by the user case is checked and output message is printed in the console log.
Please check the fiddle also.
I hope this helps.