摘要:
实现函数 double Power(double base, int exponent),即乘方运算。考虑问题exponet using namespace std;bool InvalidInput = false;bool equal(double val1, double val2){ if((val1 - val2 -0.0000001)) return true; else return false;}double Power(double val, int exponent){ InvalidInput = false; if(... 阅读全文
posted @ 2014-03-13 08:10
jihite
阅读(1724)
评论(0)
推荐(0)

浙公网安备 33010602011771号