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

Which statement best explains the purpose of the case the United States v. Nixon? The case was to prosecute members of the White House for connection to the le
Hardin gives two scenarios with regard to the "invisible hand" and population. What are they? (Hint: is the assumption correct or not?
Can someone solve these for me. Much would be appreciated.
-px+r=-8x-2 Solve for x
The perimeter of a rectangle is 52. The length of the rectangle is six less than the width. Find the length and width of the rectangle
The exchange of information among dns servers regarding configured zones is known as:
what equals Infinity multiplied by Infinity
Simplify 4 to the 7th over 5 squared all raised to the 3rd power. 4 to the 10th over 5 to the 5th 4 to the 4th over 5 4 to the 21st over 5 to the 6th 12 t
Which are precautions to take when working with heat and fire?
You are the hr consultant to a small business with about 40 employees. now the firm offers only 5 days of vacation, 5 paid holidays, and legally mandated benefi