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 a baseball team's ratio of wins to losses is 5 to 4, what is the ratio of wins to total games played?
Write the linear inequality shown in the graph. The gray area represents the shaded region
Is you were asked to convert 25kg to the unit mg, which of the following would be the first fraction used in the conversion
Plastic storage bins are designed so they can be nested. The picture shows how each one fits inside another, leaving only the top part showing. The 4 stacked 10
“Who is More Heroic: Odysseus, Penelope or some other character from the Odyssey?” Be sure to cite evidence from the text to support your viewpoint, as well as
what is the coefficient of x^2y^3 in the expansion of (2x+y)^5
What is Sarah Jewett suggesting when she writes about Sylvia's in increasing attraction to the hunter in a white heron
Ralph sold brownies for ​$0.27 a piece in order to earn money to buy baseball cards. If the cards cost ​$0.54 per​ pack, and if Ralph had no money left over aft
what is "the old man and the sea" an allegory for?
Describe the transformation f(x) = √x + 1 − 5 in words. The parent function f(x) = √x has been shifted 1 unit and 5 units.