Switch statement problem

Switch statement problem
0

#1

I have written the switch statement just like the example but it’s not executing…any help?

Thanks!!


#2

You are passing the variable ‘answer’ into the switch statement and testing it against the various cases. Unfortunately, ‘answer’ is a blank string. Pass something else into the switch statement.


#3

A post was split to a new topic: Trouble with passing tests for Switch Statement challenge