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

The cells ____ and shrivel up
The monthly cost of water use is a linear function of the amount of water used (HCF). The cost for using 16 HCF of water is $39.04, and the cost for using 44 HC
Help me with ixl please
Find the missing side and angle measures in triangle ABC. Round your answers to the neFind the missing side and angle measures in triangle ABC. Round your answe
The cells ____ and shrivel up
Solve the system of equations below by graphing. Type in the ordered pair (x,y) for your answer y=-2 x+y=5
Five times a number decreased by 2 is 4, find the number.
Choose ALL correct answers (1, -3) (4, 1) (6, 3) (2, -2)
Carter invested $70,000 in an account paying an interest rate of 1.125% compounded continuously. Savannah invested $70,000 in an account paying an interest rate
The monthly cost of water use is a linear function of the amount of water used (HCF). The cost for using 16 HCF of water is $39.04, and the cost for using 44 HC