#include<stdio.h>
#include<conio.h>
void main()
{
  int a,b;
  char op;
  clrscr();
  printf("enter the operands a and b");
  scanf("%d %d",&a,&b);
  printf("enter u r choice of operator\n");fflush(stdin);
  scanf("%c",&op);
   switch(op)
  {
   case '+': printf("%d",a+b);break;
   case '-': printf("%d",a-b);break;
   case '*': printf("%d",a*b);break;
   case '%': printf("%d",a%b);break;
   case '/': printf("%f",(float)a/b);break;
   default: printf("\ninvalid option");
  }
  getch();
}




