What is wrong with this recursive method? long sum(long n) { return n + sum(n+1);

Question:

What is wrong with this recursive method?

long sum(long n) { return n + sum(n+1);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: