11. (20pt) Write a recursive method that performs exponentiation, raising a base to a power. For example, the method bel
Posted: Sat May 14, 2022 7:13 pm
11. (20pt) Write a recursive method that performs exponentiation, raising a base to a power. For example, the method below was called with a base of 2 and a power of 5 it would return 32. The only math operations you are allowed to use are addition and subtraction. (CLO-3) //Note: base and power are both pre-filtered to be >= 0 public int intDiv(int base, int power).