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

Rewrite the function c(x) =9(x+3) using the distributive property
A child is standing across the street from his apartment . His mother is on their balcony . The angle of elevation between the child's eyes and his mothers eyes
A passenger on a boat moving at 1.70 m/s on a still lake walks up a flight of stairs at a speed of 0.60 m/s , as shown in the figure . The stairs are angled at
Rewrite the function c(x) =9(x+3) using the distributive property
Does the depth of a pan affect how water freezes?
in an expression(8/9) squared (-81)+3/5dividedby-9/10
is it possible for a distance versus-time graph to be a vertical line?
Was the Gold Rush a good or bad thing for the United States?
.is a pot holder a conductor or a insulator
What is Sir Francis Drake hardships