378868
378868 378868
  • 03-12-2020
  • Computers and Technology
contestada

What is output? Select all that apply.

c = 6

while (c > 0):
print (c)
c = c - 2

Respuesta :

Аноним Аноним
  • 03-12-2020

Answer:

6

4

2

Explanation:

First loop:

C = 6

6

C - 2 = 4

Second loop:

C = 4

4

C - 2 = 2

C = 2

2

C - 2 = 0

Is C higher than 0 now? No

Answer Link

Otras preguntas

Why was is difficult for the Arab people to form one nation?
Jim’s allowance is $1.20 per week. Stan’s is 25¢ per day. How long will they have to save, if they save both their allowances together, before they can get a m
“The genetic code is universal.” Explain this statement.
How do you Factor c(squared)-8c ??
After what happened on April 19 can war between the colonies and Great Britain be avoided?
Jim’s allowance is $1.20 per week. Stan’s is 25¢ per day. How long will they have to save, if they save both their allowances together, before they can get a m
If Walt can paint 25 feet of fence in an hour, and Joe can paint 35 feet in an hour, how many minutes will it take them to paint a 150-foot fence, if they work
which factor made the most difference in how agriculture affected the economies of the colonies?
which seismic wave moves through earth at the fastest speed?
“The genetic code is universal.” Explain this statement.