Question: (in c++) ~Given the following recursive function ... int tryit(int i) { if (i > 0) return tryit(i-1) * j + k; else return 1;
(in c++) ~Given the following recursive function ...
int tryit(int i) { if (i > 0) return tryit(i-1) * j + k; else return 1; } ... what is the value of x after the following code has executed? i = 3 j = 3 k = 2 x = tryit(i); a. 53 b. 46 c. 63 d. 89 e. None of the above [] The answer is A. But I'm sure how they got 53. If possible, could you please break it down and explain it step by step? Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
