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 a criticism made of George H.W. Bush's New World Order? a. It imposed too many restrictions on subjugated nations. b. It was vague and its parameters w
Which accurately describes a letter written during the time a historical event occurred?
According to Muslim beliefs, why did Muhammad become a prophet?
Which of the following statements about John d. Rockefeller is most accurate? a. He invented the concept of vertical integration. b. He drilled the first oil we
Which of these describes a first order reaction? A. The rate is inversely proportional to the concentration of the reactant. B. The rate is directly proportiona
Which of the following is necessary to determine the rate of a reaction using the rate law? A. The starting temperature of the reaction B. The activation energy
sun yat sen promoted nationalism in China because he
What accounts for why the Soviet Union decided to formalize its East European alliance through the Warsaw Pact?
What belief do Deists hold about the universe? a. od had created a chaotic universe that could only be understood through gospel. b. od had created a mechanisti
Which of the four "progressive amendments" gave women the right to vote?