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

What was the purpose of the pure food and drug act of 1906?
Well explained answer plz: Can girls with dark black skin bleach there girlstashes? ???
Two ships leave whittier, Ak at 7 AM. The first ship sails towards Valdez on a 54° course at a constant rate of 36 mi/h. The second ship sails towards Knight is
Well explained answer plz: Can girls with dark black skin bleach there girlstashes? ???
Two famous Elizabeth Blackadder paintings ?
A molecule of nitrogen gas consists of two nitrogen atoms joined together. Write the formula of nitrogen gas.
How many hawksbill turtles are left in the world?
The radius of a bicycle wheel is 12 in. What is the approximate circumference of the wheel?
what is 1/2 plus 9/10
Three numbers are in the ratio 6:3:1, and the sum of these numbers is 420. If the first number is reduced by 50%, and the second number is increased by 42, and