Math, asked by Aartikmari3241, 10 months ago

C program to find the sum of all odd integers between 1 and n

Answers

Answered by surindermaharaj
0

Step-by-step explanation:

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

Sn=n/2(2+(n-1))

=n/2(n+1)

is the sum of all interger between 1to n

Similar questions