You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//* --------- find the sum of natural numbers using recursion
//? This program calculate the sum of natural numbers up to a given positive integer using recursion.It prompts the user to enter a positive integer n and then calculates and displays the sum using a recursive function.