问题描述:

I don't understand why this code doesn't work..

help?

thanks

 float powOperation(float base, int n)

{

if (n == 0)

return 1;

return base *powOperation(base, n - 1);

}

相关阅读:
Top