Provide code for a method named
sumToInfinitythat returns the sum of numbers from
nto infinity, where
nis a
longparameter. Your method must use an infinite recursive loop.
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.