Coding challenge-3
Required knowledge-Recursive adding
sum = 1
sum = sum + 2
sum = sum + 3
sum = sum + 4......and so on till n times.
Challenge-Develop a sum of series finder
Series = `1 + 2*2 + 3*3*3 + 4*4*4*4 + 5*5*5*5*5 + ...............
to find sum up to n terms.
input-Number of terms n.
output-sum of n terms.
I hope you all are liking the challenges being given.
Keep Solving Keep Supporting
Please share on


0 Comments