Page 1 of 1

Write a recursive function named exam that takes a single integer parameter i and return the sum of the following series

Posted: Fri May 20, 2022 3:44 pm
by answerhappygod
Write A Recursive Function Named Exam That Takes A Single Integer Parameter I And Return The Sum Of The Following Series 1
Write A Recursive Function Named Exam That Takes A Single Integer Parameter I And Return The Sum Of The Following Series 1 (28.66 KiB) Viewed 39 times
Write a recursive function named exam that takes a single integer parameter i and return the sum of the following series without using global or static variables : Write a program that prompts the user to enter a positive integer i, then calls the function exam to calculate the sum of the series above. The main should print the sum of the series