0
How to write Switch statement syntax?
2 Antworten
+ 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.
+ 1
Switch Statement Syntax:-
switch (expression) {
case val1:
statements
break;
case val2:
statements
break;
default:
statements
}