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

Identify whether the statements below are true or false by dragging and dropping the appropriate term into the bin provided. A. Long-run economic growth is unli
Solve the division problem. Round answer to the nearest hundredth. 9.2 divided by52.063
What is the effect of the simile "The blackboard is like a battle zone. / The answers have fallen victim?" A. to show that the students have wrestled in front o
The summary statistics for all students that took the SAT at Jones High School are shown. Four sample groups of 10 students areshown. For which sample group(s)
Why did the United States and the Soviet Union install a “hot line” telephone system? to end aboveground nuclear tests to solve the Cuban missile crisis to impr
Find the volume of the cylinder in terms of . The diagrams are not drawn to scale. 43.35pi m cubed 51pi m cubed 56.78pi m cubed 73.695pi m cubed
Why was slavery not mentioned in the constitution?
If 600 J of work is done in 38, what is the power? ​
what are some intriguing facts about world war 2
A chemist determined by measurements that 0.050 moles of aluminum participated in a chemical reaction. Calculate the mass of aluminum that participated in the c