I have a exercise which asks that a function be writen that returns the value of base and exponent using recursive function.
for example; integerpower (3,4) = 3*3*3*3. Assume that the exponent is a positive nonzero integer, and base is an integer. The function should use for to control the calculation. Can you explain what the original call code will make this work?