Examlex

Solved

Complete the Code for the CalcPower Recursive Method Shown Below

question 28

Multiple Choice

Complete the code for the calcPower recursive method shown below, which is intended to raise the base number passed into the method to the exponent power passed into the method: Complete the code for the calcPower recursive method shown below, which is intended to raise the base number passed into the method to the exponent power passed into the method:    A) if (exponent == -1)  B) if (exponent == 1)  C) if (exponent != 1)  D) if (exponent == 0)


Definitions:

Related Questions