Page 1 of 1

re-lab xercise Objectives Write a recursive function named exam that takes a single integer parameter i and return the s

Posted: Fri May 20, 2022 10:31 am
by answerhappygod
Re Lab Xercise Objectives Write A Recursive Function Named Exam That Takes A Single Integer Parameter I And Return The S 1
Re Lab Xercise Objectives Write A Recursive Function Named Exam That Takes A Single Integer Parameter I And Return The S 1 (27.46 KiB) Viewed 47 times
re-lab xercise Objectives 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 : sum 1 2 2 3 3 + ++ 4 + 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