#include<stdio.h> main() { char a; float b,c,x1,x2,x3,x4; printf("please input the number figures:"); scanf("%d%c%d",&b,&a,&c); x1=b+c;x2=b-c;x3=b*c;x4=b/c; if(a=='+') { printf("%d ",x1); } else if(a=='-') { printf("%d ",x2); } else if(a=='*') { printf("%d ",x3); } else if(a=='/') { printf("%d ",x4); } else { printf("sorry,please quit "); }