Program to find sum of all integers between 100 to 9000 and are divisible by 7 in c
Answers
Answered by
4
Hey mate,
Here is ur answer
Hope it is helpful
Plz mark me brainliest
Attachments:
Anonymous:
well answerd
Answered by
1
Answer:
5783050
Step-by-step explanation:
Since, integers between 100 to 9000 that are divisible by 7,
105, 112, 119, .......... 8995,
Which is an AP,
Having first term, a = 105,
d = 7,
Last term, l = 8995
Let n be the total number of terms,
Hence, the sum of the above AP,
= 5783050
Hence, the sum of all integers between 100 to 9000 and are divisible by 7 is 5783050.
Similar questions