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
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