Switch State example
https://code.sololearn.com/cUEbGbqnr4TT Help! can anyone tell me what should i correct in this code, please?
Declare day variable of int type and take input into that, before using it in switch argument..
As already said, you should declare your "day" variable first and initialize it before using
Got it, thanks!