开头定义这块必须要用float定义吗,double为什么不行,一运算结果都是零
收起
接收double类型,scanf里面要改为lf
scanf("%lf %c %lf",&op1,&ch,&op2);
报告相同问题?