I have a simple switch:
So if I pass number 3 to switch, will it preform actions on case 3, what about case 3, 4?Code:int sumnum = 3;
switch(sumnum) {
case 1:
break;
case 2:
dosth();
break;
case 3:
//will it preform action here - yes
case 3:
case 4:
//will it go here?
break;
}