Solved

Complete the Code for the MyFactorial Recursive Method Shown Below

Question 78

Multiple Choice

Complete the code for the myFactorial recursive method shown below, which is intended to compute the factorial of the value passed to the method: Complete the code for the myFactorial recursive method shown below, which is intended to compute the factorial of the value passed to the method:    A) if (anInteger * (anInteger - 1)  == 1)  B) if (anInteger == 1)  C) if (myFactorial(anInteger)  == 1)  D) if ((anInteger - 1)  == 1)


A) if (anInteger * (anInteger - 1) == 1)
B) if (anInteger == 1)
C) if (myFactorial(anInteger) == 1)
D) if ((anInteger - 1) == 1)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions