recursive function to find the sum of the nth term code example
Example: recursive function to find the sum of the nth term
void recurse() {
.....
recurse() //recursive call
.....
}
int main() {
.....
recurse(); //function call
.....
}