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 10:54 am
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