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

Complete the sentence with a word that means the same as "rare"
Cuanto vale la y en matemáticas
why does bread dough is needed to be left for hours or a day before baking?​
g(x) = 4x+6 h(x)=x-5 Write the expressions for (g-h) (x) and (g-h) (x) and evaluate (g- h) (3). (g-h)(x) = (g-h)(x) = 0 (g+h)(3) =
1.07 x 104 -3.38 × 10³
Complete the sentence with a word that means the same as "rare"
PLEASE HELP!! Whats the lifestyle or entertainment in The Odyssey? (I need it for a newspaper project so please answer w a good explanation)
The sum of 2.236 and 7.555.. must be : A) Rational B) Irrational C) An integer D) A whole number
1.07 x 104 -3.38 × 10³
Which represents the inverse of the function f(x) 4x? O h(x) = x + 4 O h(x) = x - 4 O h(x) Sx O h(x) = ~x