///哇一开始用的是float然后一直只能通过9组测试用例,乘法那边有误,最后改成了double才运行成功,没注意是双精度!!!
#include<stdio.h>
int main()
{
    double  a,b;
    char c;
    //flaot add,mul,sub,div;
    scanf("%lf%c%lf",&a,&c,&b);
    
    switch(c)
    {
        case '+': 
        //add=a+b;
        printf("%.4lf+%.4lf=%.4lf",a,b,a+b);
            break;
        case '-':
           // sub=a-b;
              printf("%.4lf-%.4lf=%.4lf",a,b,a-b);
            break;
        case '*':
           // mul=a*b;
              printf("%.4lf*%.4lf=%.4lf",a,b,a*b);
            break;
        case '/':
            if(b==0.0)
            {
                  printf("Wrong!Division by zero!\n");
            }
            else
            {
              //  div=a/b;
                  printf("%.4lf/%.4lf=%.4lf",a,b,a/b);
            }
           break;
            default: printf("Invalid operation!\n");
            break;
    } 
    
}