Untitled
4 years ago in Plain Text
int recurSum(int n)
{
if (n <= 1)
return n;
return n + recurSum(n - 1);
}