(c) s=1+(1+2)+(1+2+3) +
+ (1+2+3+ +n)
Answers
Answered by
1
Answer:
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) =
Explanation:
MAKE ME BRAINLIEST ❤️❤️ FOLLOW ME ❤️❤️
Similar questions