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

is a piece of cloth a point, line, or plane?
what is the solution to 1/3(s-2)=s+4
What is two thirds of 120?
is a piece of cloth a point, line, or plane?
List the perfect squares between 100 and 500 that are even numbers
1/7(x+21)=-6 answer ?
Suppose that 2 scientists use different measurement systems in their work. What problems might arise if they shared their data?
In 1940 What was Germany’s initial strategy for conquering Britain?
help me the area of a rectangular roof of a doghouse is 756 square inches. the length of the roof is 108 inches. how many inches wide is the roof? show the math
The gram formula weight of phosphoric acid is 98.00 g/mol, and the density of 85.0% phosphoric acid is 1.685 g/mL. Could you describe how ...