0

How to write Switch statement syntax?

2nd Oct 2023, 6:18 AM
Virtual
Virtual - avatar
2 Answers
+ 2
Virtual , Learn again with carefully and then try to make, After this, if you face any problem in making the code, then feel free to ask here. https://www.sololearn.com/learn/o-C/2924/?ref=app Jai, Note that,don't give the Ready-made code,Let him try on his own otherwise his ability to think and understand will not develop.
2nd Oct 2023, 8:50 AM
Darpan kesharwani🇼🇳[Inactive📚]
Darpan kesharwani🇼🇳[Inactive📚] - avatar
+ 1
Switch Statement Syntax:- switch (expression) { case val1: statements break; case val2: statements break; default: statements }
2nd Oct 2023, 6:20 AM
Jai