Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Write a recursive method called Power(base, exponent) that, when called, returns base exponent . For example, Power ( 3, 4 ) = 3 * 3 * 3 * 3. Assume that exponent is an integer greater than or equal
Write a recursive method called Power(base, exponent) that, when called, returns base exponent .
For example, Power ( 3, 4 ) = 3 * 3 * 3 * 3.
Assume that exponent is an integer greater than or equal to 1. The recursion step should use the relationship:
base exponent = base * base exponent – 1
The terminating condition occurs when exponent is equal to 1 because
base 1 = base
Incorporate this method into an application that enables the user to enter the base and exponent.
Please see attachment for further details.