摘要: 看了两章不到。。随意记录下。#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 阅读全文
posted @ 2013-03-12 16:32 皮卡丘\(≧▽≦)/ 阅读(553) 评论(0) 推荐(0) 编辑