Computer Science, asked by paromita4820, 1 year ago

Anonymous block to find the sum of first 10 prime numbers

Answers

Answered by AditiHegde
0

Given:

The first 10 prime numbers

To find:

Anonymous block to find the sum of the first 10 prime numbers

Solution:

From given, we have,

Prime numbers: The numbers that are divisible by 1 and itself.

The first 10 prime numbers

2, 3, 5, 7, 11, 13, 17, 19, 23 and 29.

Their sum is given as,

2 + 3 + 5 + 7 + 11 + 13 + 17 + 19 + 23 + 29 = 129

Therefore, the sum of the first 10 prime numbers is 129

Similar questions