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

Help with this question, please!
A scientist wants to use a model to help present the results of his detailed scientific investigation. Why would a model be useful? because the model makes the
Oil is leaking from a damaged shipping vessel stranded at sea. The captain estimates that the costs, C, in millions of dollars, to clean a t ton oil spill can b
If 4^x= 40, then x = ????
Which of the following body parts has involuntary muscles? A.Arm B.Face C.Intestine D.Leg
The length of a rectangle is 71/2 inches and the width is 23/4 inches. What is the ratio, using whole numbers, of the length to the width
Which line is parallel to the line y=1/5x-1 and passes through the point (-10,-3)
how did the arab spring change the middle east
115) Working alone, it takes Sebastian nine hours to pick forty bushels of apples. Eduardo can pick the same amount in 11 hours. How long would it take them if
Please help I will mark brainliest!!!!!!