// Online C compiler to run C program online #include int main() { int a,b,c; printf("Enter two numbers :\n"); scanf("%d %d", &a, &b); int choice; printf("enter the choice which operation you want to perform:\n"); scanf("%d", &choice); switch(choice) { case 1: c=a+b; printf("sum is %d", c); break; case 2: c=a-b; printf("subtraction is %d", c); break; case 3: c=a*b; printf("multiplication is %d", c); break; case 4: c=a/b; printf("division is %d", c); break; default: printf("user entered using option"); } return 0; }