Chapter 6: Problem 18
Write a function integerPower(base, exponemt) that returns the value of base \(^{exponent}\) For example, integerPower \((3,4)=3: 3\) is 3 . Assume that exponent is a positive, nonzero integer and that base is an integer. Do not use any math library functions.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.