function sum(n)
{
if(??)
return 1
else
return (n+sum(n-1)
end
}
Answers
Answered by
2
Answer:
if(n==1) sum of n natural numbers
Similar questions