Computer Science, asked by jananilatha28, 1 year ago

algorithm to compute the sum of the first n elements

Answers

Answered by SLOKESH
0
Sum of first 'n' elements Algorithm is here

n/2(2a+(n-1)d)

or


n/2(a+an)


Similar questions