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

Use the given endpoint R and midpoint M to line RS to find the coordinates of the other endpoint S. R(6,-2) M(5,3)
what is sum of 5/8 + 5/8
Love, death, peace, and war are examples of ____________ that relate to the entire world. A. paintings B. music C. books D. universal themes
In a contraction, the apostrophe should always be placed A. just before the last letter. B. immediately after the last letter. C. between the first word and the
7e−4=31 solve for e.
How did conditions in the West heighten the tension between the United States and Britain?
What word should you avoid when correcting a child?
where is DNA located ? In the chromosome or in nucleus?
What are examples of local diversity??
Which of the following best describes why Africans could have sold other Africans into slavery? A. They thought of themselves in terms of tribal groups, such as