1.

Find the sum of first `n`natural numbers.

Answer» Let sum be `S_(n)` then `S_(n)=1+2+3+…. +n, S_(n)=n/2[1+n]=[(n(n+1))/2]`


Discussion

No Comment Found

Related InterviewSolutions