摘要:
看了两章不到。。随意记录下。#include<iostream>#include<string>using std::cout;using std::endl;double calculation(double a,double b,char op){ switch(op) { case '+': return a+b; case '-':return a-b; case '*':return a*b; case '/':return a/b; } } double num=0; double num2=0 阅读全文