...

/

Challenge: Calculate the Power of a Number Recursively

Challenge: Calculate the Power of a Number Recursively

Test your knowledge by solving a challenge in this lesson.

Problem statement

Your task is to write a recursive function power. In the function parameter, you will pass base and the exponent of type int ...