Q18.Select an appropriate code snippet that calculates the sum of a series up to `n` terms. The series defined here for `n = 5` is:
1+12+123+1234+12345=13715.
Save
Check
Details
Q18
16 Jul 2023
Q18.Select an appropriate code snippet that calculates the sum of a series up to `n` terms. The series defined here for `n = 5` is:
1+12+123+1234+12345=13715.