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

jasmines cd collection is 3/8 jazz 1/4 rap and the rest is rock music what is the fraction of rock music
find the circumference of a circle whose radius is 15.4cm
In scientific notation, what is the sum of 2.3 times 10^{-3} and 5.4 times 10^{-4}?a. 2.84 times 10^{-3}b. 5.63 times 10^{-3}c. 7.7 times 10^{-7}d. 12.42 times
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
jasmines cd collection is 3/8 jazz 1/4 rap and the rest is rock music what is the fraction of rock music
jasmines cd collection is 3/8 jazz 1/4 rap and the rest is rock music what is the fraction of rock music
find the circumference of a circle whose radius is 15.4cm
What value of x makes the equation true ? 4(2x-4)=16
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
find the circumference of a circle whose radius is 15.4cm