Recursive Function
Lesson 14 of 17 in Coddy's Functions in C course.
Challenge
EasyUsing a recursive function, write a function to calculate the sum of numbers from 1 to n.
For example, if the number is 4, then the result is 10: 1+2+3+4.
Try it yourself
#include <stdio.h>
int sumRecursively(int n) {
}