Solved

Look at the Following Pseudocode Algorithm: Algorithm Test14(int X)

Question 23

Multiple Choice

Look at the following pseudocode algorithm: algorithm Test14(int x)
If (x < 8)
Return (2 * x)
Else
Return (3 * Test14(x - 8) + 8)
End Test14
What value is returned for Test14(7) ?


A) 0
B) 7
C) 14
D) -5

Correct Answer:

verifed

Verified

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

Related Questions