(What Does This Code Do?) What does the following method do?
// Parameter b must be positive to prevent infinite recursion
public static int Mystery( int a,int b )
{
if ( b == 1 )
return a;
else
return a + Mystery( a, b - 1 );
}
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.