Computer Science, asked by dunkin1dooley, 10 months ago

Write programs to print the sum of the following series.

a) S = 24+99+224+399......upto n terms.
please solve as fast as possible

Answers

Answered by aadilkhanaps
0

Answer:

Example

Input: n = 2

Output: 8

Explanation:

(1*2) + (2*3)

= 2 + 6

= 8

Input: n = 3

Output: 20

Explanation:

(1*2) + (2*3) + (2*4)

= 2 + 6 + 12

= 20

Explanation:

u can solve your question like this process

Similar questions