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