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

Please help with number 5 DUE TOMORROW!!
12. What does appeasement mean? A. To invade another nation B. The weakness of the democracies C. Powerful nations having a monopoly upon smaller nations D. To
Write the following number in standard notation: 7.0 × 10^-5. a. 70,000 b. 7.0 c. 0.0007 d. 0.00007
Why are Mexico, Central America, South America, and the Caribbean called "Latin America"?
Match each event to the correct step in the decision-making process She meets with a current and former council member to discuss the duties of city council m
how does trade with other nations affect India
Identify the three main parts of a professional cover letter. A. Heading, body, closing and signature line B. Heading, body, mission statement C. Intr
Women who become pregnant during __________ are more likely to have premature deliveries.
ASAPnWhich sentence is compound?   A. I read three books and loved them all.   B. I finished the book, yet I'm reading it again.   C. That story was
Which choice correctly punctuates the sentence? The boy to whistled softly _____ to himself. A. comma B. dash C. no punctuation needed D. semicolon