Semester : S1 and S2
Subject : Computer Programming
Year : 2018
Term : MARCH
Branch : BIOTECHNOLOGY
Scheme : 2015 Full Time
Course Code : CS 100
Page:32
printf("\nSubtraction of num1 and num2=%d", (num1-num2));
break;
printf("\nMutiplication of num1 and num2=%d", (num1i*numd);
printf("\nDiision of num1 and num2=%d", (num1/num2))
break; case
break; case
printf ("\nTest switch case1");
printf ("\nTest switch case2");
printf("\nInvalid value eneterd");
}
printf("\n"); return 0)
}
Output
Basic operation:
Add [a]
Subtract [s]
Multiply [m]
Divide [d] Enter character for
operation:a
Enter two numbers for operation:
Enter num1=10
Enter num2=5
Addition of num1 and num2=15
case 'y':
default:
break;
case ണ്: