Sum of the series S=1+(1+2)+(1+2+3)+(1+2+3+4)+….+(1+2+3+…+n) where the value of ‘n’ is given by the user.

 

You may also like...