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

What is the basic function of catabolic operons like the lac operon? to find an alternative energy source when glucose is absent or not present in sufficient am
PLEASE HELP ASAP The line that is the perpendicular bisector of the segment whose endpoints are R(-1, 6) and S(5, 5) Indicate the equation of the given line in
Why was reconstruction of the south likely to be a difficult process?
Chris bought 2 chicken sandwiches and 3 bowls of vegetable soup for $50, not including tax. Jim bought 1 chicken sandwich and 2 bowls of vegetable soup for$9.50
What often happened to African residents of regions that became Rich due to exports of local natural resources
Divide the following polynomial using synthetic division, then place the answer in the proper location on the grid. Write answer in descending powers of x. (x^3
An author uses sensory images and symbols to __________. evoke emotion and create meaning expose basic beliefs of the author distract attention away from the co
The product of the synthesis reaction between sodium and chlorine gas is ?
Which phrase describes a nonlinear function a The area of a circle as a function of the radius b the perimeter of a square as a function of the side length c th
What does Martin Luther King "I Have a Dream" speech say about equality? Give evidence please....