Question: 5. Develop a recursive function that calculate the sum of the first n natural numbers using c++. for example: Enter the number n: 10 The
5. Develop a recursive function that calculate the sum of the first n natural numbers using c++. for example: Enter the number n: 10 The sum of the first 10 natural numbers is: 55
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
