Solved

Look at the Following Pseudocode Algorithm: Algorithm Test3(int A, Int

Question 15

Multiple Choice

Look at the following pseudocode algorithm: Algorithm Test3(int a, int b)
If (a < b)
Return 5
Else if ( a == b)
Return -5;
Else
Return (a + Test3(a - 1, b)
End Test3
What is the recursive case for the algorithm?


A) a < b
B) a == b
C) a > b
D) None of the above

Correct Answer:

verifed

Verified

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

Related Questions