#include
int main()
{
float x,y;
char c;
printf("Input x:");
scanf("%f",&x);
printf("Input y:");
scanf("%f",&y);
printf("Celect (+,-,*,/):");
scanf("%c%c",&c,&c);
switch(c)
{
case '+':printf("%0.2f+%0.2f=%0.2f\n",x,y,x+y);break;
case '-':printf("%0.2f-%0.2f=%0.2f\n",x,y,x-y);break;
case '*':printf("%0.2f*%0.2f=%0.2f\n",x,y,x*y);break;
case '/':printf("%0.2f/%0.2f=%0.2f\n",x,y,x/y);
}
getch();
}