1.C++.怎么用递归函数计算X^Y.2.求解
double power(double x,int y){ if(y==0) return 1; return x*power(x,y-1); }
觉得有用的话采纳一下哈