Question: c++ program 6.18 (Exponentiation) Write a function integerPower (base, exponent) that returns the value of base exponent For example, integerpower (3,4)=3333. Assume that exponent is
6.18 (Exponentiation) Write a function integerPower (base, exponent) that returns the value of base exponent For example, integerpower (3,4)=3333. Assume that exponent is a positive, nonzero integer and that base is an integer. Do not use any math library functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
