Take a positve integer n as input from user and then find the sum of numbers from 1 to n using recursion. code example
Example: recursive function to find the sum of the nth term
void recurse() {
.....
recurse() //recursive call
.....
}
int main() {
.....
recurse(); //function call
.....
}