sir i have a problem in the c program.
switch(ch)
{
case 1: t=a+b;break;
case 2: t=a-b;break;
case 3: t=a*b;break;
case 4: t=a/b;break;
default:printf("invalid no:");
}
when i execute the program and the any choice the comipler skip to the default statement. is it any problem in the syntax. sir please solve my problem.