Question: Using C Q4 Write a program that works as follows: i) Has a main function and a recursive function int powRec(int n) ii) Accepts an
Using C

Q4 Write a program that works as follows: i) Has a main function and a recursive function int powRec(int n) ii) Accepts an input less than 7 in main function to calculate as many terms as the user inputs Lists series: 1 2 5 26 677...such that the nth term of the series equals to (n-1)th "2 +1 and the first term of the iv) V) series 1S I int powRec(int n) computes the nth term recursively Output in the following format Please input a positive integer value:6 1 25 26 677 458330
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
