Switch statement, Unit 5, second post

csp-unit-5

#1

This is my second post of the same topic. Please advise! Thank you.

A student of mine wanted to try out switch statements in app lab. Despite the correct syntax, the app will not function properly when the drop down change is from Friday to Saturday. Going on the forums, I noticed a post in which there appeared to be a bug in the code interpreter: AP Lab Switch not working?.

Here is the link to my student’s project: https://studio.code.org/projects/applab/Gnqx7WiXxns-dPYh8xQlGlCrM7C-G69uGpJ8Mw-ckx8


#2

I don’t see anything wrong with the code. There seems to be a bug. I added a dummy case statement after “Friday” and the code worked. It seems to not work with the last case statement. Please report this to support@code.org.