Given a recursive function as below. Predict the output for the inputs given. Show the steps.

int X(int n)

{

if (n==1) return 5;

else

return n + X(n/2);

}

Predict the value of X(10), show the steps of finding that out.