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

Donalita ate 5 out of every 7 candies in a jar. If she ate 25 candies, what fraction represents the number of candies she ate over the total number of candies?
Help me with this please
We observe much of the world through the eyes . Choose a type of observation that cannot be perceived with the eyes. ​
Choose one of the 13 British colonies create a postcard to send to a friend or family member. Remember, you are living in colonial times, so you should write in
Alan can do 2/3 part of his work and sam can do 3/4 part of her work .Who can do more work​
Question 1 (1 point) Which of the following is NOT one of the four main elements of an amino acid? Question 1 options: Nitrogen Calcium Oxygen Hydrogen Carbon Q
Do you think a person's crimes should be made public? Yes, in all cases, large and small Only for certain crimes No, not ever I need help!!!!!!!!!! Please help
In the poem "Barbara Frietchie,” what is true about each rhyming couplets?
Which of the following best summarizes Lizabeth’s realization in this passage
Solve 2(x - 7) = 5x + 4.