so what's the question?
if you understand if then better, switch in if form is like this
if(variable == b) {
} else if(variable == c) {
} else {
// D default
}
so what's the question?
if you understand if then better, switch in if form is like this
if(variable == b) {
} else if(variable == c) {
} else {
// D default
}