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

If 2^x+4 = 2^3x-1, what is the value of x?
Spanish homework help
The sum of two integers is 10 their difference is 8 what are the two integers.
Drag the tiles to the correct boxes to complete the pairs. Match the areas seen on the presentation program's Interface with their uses. default template for an
Select the correct answer. The level of oxygen in the air is measured in a garden and on a city road. Which location has a higher level of oxygen and why?
Solve the polynomial congruence x² ≡ 1(mod3).
Which corresponds to the perimeter of triangle ABC? A (-5,-1) B (-2,3) C (6,-3) A. 15 units B. square root 250 units C.15+ square root 125 units D.125+ square r
A healthier substitution for one egg is A. one cup evaporated skim milk. B. one-half cup nonfat yogurt. C. two tablespoons buttermilk. D. two egg w
If 2x + 3 + 7x = – 24, what is the value of x? -6 3 -2 -3
What are the solution(s) of x squared -4=0