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

Solving Rational Inequalities and use sign diagram to sketch the graph. Image attached for better understanding. [tex]\frac{(x-3)(x+2)}{x-1} \ \textless \ 0[/t
Mr and mrs Gomez are buying carpet for their square shaped bedroom which measures 7 yd along each wall the carpet is $21 per square and padding and installation
Which of the following best describes the significance of the sequence individual's DNA?
John throws a baseball from a standing position. Which of the three possible paths will the ball follow?
What is the volume of the triangular prism
2. Label the countries
The first two political parties in the U.S. Were the Federalists and the Jeffersonian Republicans. Which of these examples were Federalist policies that the Jef
I need helpppppppppp please
Why where punishments for the following slave codes severe? A) Slave Owners Wanted To Ensure Their Safety From The Slaves B) Slaves Were Seen As Property, Not H
What changed the lifestyle of the Paleo-Indians and led them to form permanent settlements? the abundance of plants and animals after the Ice Age ended the