Question: c lang 2. Write a recursive function that calculates the sum 1'+22 +33 +...+n, given an integer value of n in between 1 and 9.
2. Write a recursive function that calculates the sum 1'+22 +33 +...+n, given an integer value of n in between 1 and 9. You can write a separate power function in this process and call that power function as needed: int crazySum(int n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
