Computer Science, asked by 4427, 3 months ago

what will be the program for this answer
pls Tell​

Attachments:

Answers

Answered by kajalpal1975
0

Explanation:

sum = 0.0

x is 2 x will run till 20 with step 2

Values of x = (2, 4, 6, 8, 10, 12, 14, 16, 18, 20)

Every time x is added to sum

sum

= 0.0 + 2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20

= 110.0

sum is printed

Output

110.0

Answered by sdahal8844
1

Answer:

hope it will help you dear friend

Attachments:
Similar questions