could you please help me out in solving the following funtion using recursion
2(power,n)=2*2( power,n-1)
i thanks you for your kind consideration and help.
have a go at writing it nonrecursively first - it will give you an idea of how the algorithm works before dealing with the more complex problem of recursion as well. If you have problems post the code and contributers will help.
Comment