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

How were the assassinations of yitzhak rabin and anwar sadat similar?
which recursive formula can be used to reresent the sequence 2,6,10,14,18 1. a = 0 1 a = a + 4 n n-1 2. a = 2 1 a = a +4 n-1
the word for pizza is the same in Spanish and English
true or false. the pituitary is known as the master gland
Use the passage to answer the question. We came to Palestine to do away with the helplessness of the Jewish people through our own endeavors. Therefore, you wil
A museum charges a school $200 to hold a trip + $2 entrance fee per person. The students must share the total cost of the trip equally include the entrance feee
During the colonial era, a major effect of the Appalachian Mountains on settlement was that the mountain range
The first well-known african-american painter was __________.
How many calories in chili cheese fries from doublez?
The rate of incarceration in prison increased from 27 per 100,000 women in 1985 to 57 per 100,000 in 1998. Men still outnumber women in the inmate population by