dipikakarki265
dipikakarki265 dipikakarki265
  • 01-06-2021
  • Computers and Technology
contestada

11. Find the output of the following programs:
CLS
X= 7
FOR I = 1 to 10
PRINT X
IF X MOD 2 = 0 THEN
X= X/2
ELSE
X=X* 3+1
END IF
Next I
END​

Respuesta :

tonb
tonb tonb
  • 01-06-2021

Answer:

See picture.

Explanation:

Ran it on repl it.

Ver imagen tonb
Answer Link

Otras preguntas

Which of the following produce a quiet volcanic eruption? A) Magma that is rich in silica B) Magma that is fluid C) Magma that is low in iron D) Magma that is l
Timothy Leary, communes, and the haight-Ashbury district of san francisco were all part of A) detente B)the counterculture C)the silent majority D)realpolitik
what was the main power given to the war industries board after its creation in 1917?
Which figure emerged from the August Coup as a national hero in Russia?
Which of the following statements is true about enzymes? A. They are used up in the reactions they catalyse. B. Allosteric inhibitors bind to the active site. C
What is the difference between true ribs, false ribs, and floating ribs
The width of a rectangle is 7 meters greater than its length. If the area of the rectangle is 170 square meters, write the quadratic equation in standard form f
where is the homeland of the Burgundians
2 differences between the people in Shakespeare's time period and the people today?
How do you solve for a missing component x ? 180:x::12:24