Sum of 1 to given N numbers using recursion in R code example
Example: recursive function to find the sum of the nth term
void recurse() {
.....
recurse() //recursive call
.....
}
int main() {
.....
recurse(); //function call
.....
}