what will be the program for this answer
pls Tell
Attachments:
Answers
Answered by
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
1
Answer:
hope it will help you dear friend
Attachments:
Similar questions