If i switch


if(a == b){
a++;
}
else{
b++;
c = a % b;
}

switch(a){
case 1:
//instrukcje
break;
case 2:
//instrukcje
break;
default:
//instrukcje
break;
}