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

which would be best suited to form a circuit?
"Which of the following best describes the circuit shown below? A. Combination B. Series C.
What nation experienced the Velvet Revolution, a peaceful and non-violent movement to remove Communists from power?
Sexual awareness is usually not a significant issue during adolescence. True or False? Sexual awareness is usually not a significant issue during adolescence.
What was the main reason for the Indian wars during the second half of the 19th century?
Fill in the blank in the following sentence with the appropriate verb in the future tense. Este verano yo ________ en un campamento de niños. A. trabajaría
what are the costs and consequences of providing and to whom
one circle has a circumference of 12 pi . another circle has a circumference of 32 pi . what is the ratio of the radius of the smaller circle to the radius of t
What skills enabled Galileo to interpret the results of his experiments
Who ruled over Mexico for 35 years before the Mexican Revolution? A. Francisco Madero B. Antonio López de Santa Anna C. General Porfirio Díaz D. Benito Juár