+ 1

How to use nested switch statement?

19th Mar 2018, 11:42 PM
K. Sai Surya Pranav
K. Sai Surya Pranav - avatar
2 Answers
19th Mar 2018, 11:57 PM
Youssef Ouamou
Youssef Ouamou - avatar
+ 11
switch (case1) { case first: switch (case1_1) { // nested cases } case second : switch (case1_2) { // more cases } }
20th Mar 2018, 12:32 AM
Hatsy Rei
Hatsy Rei - avatar