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 is the sum of 7/10 and 6/100
which trinomial is equivalent to (3x-1)(x+4)
what is the sum of 7/10 and 6/100
what is the sum of 7/10 and 6/100
having troubles with inequalities.. 3.8x + 14.5 < 32
having troubles with inequalities.. 3.8x + 14.5 < 32
which trinomial is equivalent to (3x-1)(x+4)
having troubles with inequalities.. 3.8x + 14.5 < 32
having troubles with inequalities.. 3.8x + 14.5 < 32
what is the sum of 7/10 and 6/100