adrianeLEO21
adrianeLEO21 adrianeLEO21
  • 08-10-2021
  • Computers and Technology
contestada

How many times will the loop body execute?
x = 3
while x >= 0:
X = X - 1

3

4

5

6

How many times will the loop body execute x 3 while x gt 0 X X 1 3 4 5 6 class=

Respuesta :

ItzMeÆXO
ItzMeÆXO ItzMeÆXO
  • 08-10-2021

Answer:

B. 4

Explanation:

Rules :

x = x - 1

if x = 3, so :

x = x - 1

4 = 4 - 1

4 = 3

Option B

Answer Link

Otras preguntas

15/18 + 1/2 - 1/3 - 2/6=
Describe the conditions necessary for the variance to have the value zero
how does the Ebola virus spread?
cyclone low-pressure storms of high winds that develop over water are called _____
solve for y. (24-y)/4=4
What is the significance of chitin in arthropods?
If a baking tray is 500mm by 700mm, how many of 25cm in diameter can fit into the  oven
Factor 9x^3y-25xy^3 completely.
what are the factors of 68
Describe the conditions necessary for the variance to have the value zero