find the sum... [A.P] |
1 + (1+2) + (1+2+3) +...tn
aryankunalroy38:
me
Answers
Answered by
11
Step-by-step explanation:
Input : n = 5
Output : 35
Explanation :
(1) + (1+2) + (1+2+3) + (1+2+3+4) + (1+2+3+4+5) = 35
Input : n = 10
Output : 220
Explanation :
(1) + (1+2) + (1+2+3) + .... +(1+2+3+4+.....+10) =
Similar questions