WAP to find the sum of the first 10 natural numbers
Answers
Answered by
0
step 1 address the formula, input parameters & values.
Input parameters & values:
The number series 1, 2, 3, 4, . . . . , 9, 10.
The first term a = 1
The common difference d = 1
Total number of terms n = 10
step 2 apply the input parameter values in the formula
Sum = n/2 x (a + Tn)
= 10/2 x (1 + 10)
= 110/2
1 + 2 + 3 + 4 + . . . . + 9 + 10 = 55
Therefore, 55 is the sum of positive integers upto 10.
shreya6926:
in C++
Answered by
2
HIII.....
YOUR ANSWER......
THANKS ......
YOUR ANSWER......
THANKS ......
Attachments:
Similar questions