How to use two case statements as one case statement in switch case
case text1:
case text4:{
//blah
break;
}
How to use two case statements as one case statement in switch case
case text1:
case text4:{
//blah
break;
}
switch case same code for 2 cases
switch (myVar) {
case 68:
case 40:
// Do stuff
break;
case 30:
// Do stuff
break;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us