switch(n)
{
case 1:
execute code1
break;
case 2:
execute code2
break;
default:
code to be executed if n is different from case 1 and 2
}
Subscribe
Login
0 Comments