What does the following code do?
1 public int mystery(int a, int b)2 {3 if (b == 1)4 return a;5 else6 return a + mystery(a, b - 1);7 }
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.