to calculate and print the sum of the following series: sum = 1 + 3 + 5 + 7 + …….. up to 10 terms. quick. pls. full program in java.
Answers
Answered by
1
Answer:
Python program =>
ans = 1
for i in range(2,11):
if i%3 == 0:
ans += i
print(ans)
Like and Mark as Brainliest, it really motivates!
Similar questions