...
/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.
We'll cover the following...
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
...