Computer Science, asked by jamesmcguire2005, 4 months ago

What is output?

c = 1
sum = 0
while (c < 10):
c = c + 3
sum = sum + c

print (sum)

Answers

Answered by abdulwasiq014
1

Answer:

7

Explanation:

the loop will work until the sum has value 7, when the value becomes equal to 10 the loop will breakout because of the while condition given

Answered by ak6372011
0

Answer:

seven (7) is the answer

Explanation:

thank u

Similar questions