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

The nurse practitioner is examining the lymphatic system of a healthy 3-year-old child. which
What was the primary conclusion of stanley milgram’s obedience research?
What makes the value of k true
What's the next three terms of the following sequence 160,136,112,88
Need help with solving/explanation of Geometry question Photo 1: Find the measure of angle X. Please explain how you do it so I understand! Photo 2: Find KL. P
Two cars start from rest at a red stop light. When the light turns green, both cars accelerate forward. The blue car accelerates uniformly at a rate of 3.8 m/s2
An election ballot asks voters to select two city commissioners from a group of four candidates. In how many ways can this be done?
The _______ is the body's slow-acting control system and acts by means of _______.
How is a continuous probability distribution different than a discrete one? the probability that it will rain tomorrow?
A bear, awakening from winter hibernation, staggers directly northeast for 15 m and then due east for 15 m. Show each displacement graphically and graphically d