First Timer using recursion

Ok so I got a project using recursion and It's a little hard to comprehend but I need some help. I am trying to take user input and pass it into the method f and then It uses recursion on the line f(n)= 2(2n+1)*f(n−1)/ n+2. and then printing out what F(n) equals but its giving me an error while trying to set up the line in the method f. A sample run of the project would be like 10 is n and the f(n) = 58786. Please help me


Read More »

By: StackOverFlow - Thursday, 8 November

Related Posts