Switch Statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Switch Statement

Can someone explain to me what's wrong with my code & what I'm doing wrong? I'm a bit of a slow learner when it comes to self learning this kind of stuff. ~Thank you in advance. https://code.sololearn.com/caMDsCRNu1ZD/?ref=app

26th Mar 2019, 7:44 PM
𝙲𝚓🦇🌕🦉
𝙲𝚓🦇🌕🦉 - avatar
3 Answers
+ 8
Give paranthese { } after starting switch statement Switch () { Case1.. . . . }
26th Mar 2019, 7:49 PM
Scooby
Scooby - avatar
+ 6
Welcome 😊
26th Mar 2019, 7:53 PM
Scooby
Scooby - avatar
+ 4
Lol woops, thanks! 😅
26th Mar 2019, 7:53 PM
𝙲𝚓🦇🌕🦉
𝙲𝚓🦇🌕🦉 - avatar