switch实现简易四则运算计算器
#include <stdio.h>void main(){ double a, b; char c; printf("input expression:a+(-,*,/)b\n"); scanf("%lf%c%lf",&a,&c,&b); switch(c) { case'+': printf("%f\n",a+b); break; case'-': p