#include
int main()
{ int a,b,c;
char op;
scanf("%d%c%d",&a,&op,&b);
switch(op)
{ case '+':
c=a+b;
break;
case '-':
c=a-b;
break;
case '*':
c=a*b;
break;
case '/':
c=a/b;
break;
default:
printf("Error!\n");
return 0;
}
printf("%d%c%d=%d\n",a,op,b,c);
return 0;
}
#include
int main()
{
float a,b,c;
char ch;
scanf("%f%c%f",&a,&ch,&b);
if(ch=='+')
c=a+b;
if(ch=='-'旁首大)
c=a-b;
if(ch=='*')
c=a*b;
if(ch=='芹尺/')
c=a/b;
printf("%.f%c%.f=%.2f",a,ch,b,c);
return 0;
}