#include<stdio.h>
int main()
{
int a,b,c;
char operation;
printf("enter a number \n");
scanf("%d",&a,&b);
scanf("%c",&operation);
switch(operation)
{
case'-':
c=a-b;
break;
case'+':
c=a+b;
break;
case'*':
c=a*b;
break;
case'/':
c=a/b;
break;
default:
printf("error \n");
}
printf("result=%d \n",c);
return 0;
}