Write a method that uses recursion to raise a number to a power. The method should accept

Question:

Write a method that uses recursion to raise a number to a power. The method should accept two arguments: the number to be raised and the exponent. Assume that the exponent is a nonnegative integer. Demonstrate the method in a program.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: