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

How the federal government supported nationalism in their intersections with the states
Evaluate the expression 8 x 1. 5
Which of the following statements is correct for a person that has active Hepatitis B? A. Symptoms may or may not be present B. Infected person's will have jaun
How many solutions does the system of linear equations represented in the graph have? Coordinate plane with one line that passes through the points 0 comma 2 an
96 members are going to pass a resolution to select a team leader. If 1/6 of the members voted in favor and 2/5 of the members voted against how many did not vo
How the federal government supported nationalism in their intersections with the states
A group is selling chocolate-covered pretzels for 6 dollars per container and kettle corn for 8 dollars per container. They want to sell at least $2,800 in item
(Please Answer Quickly) Find the distance between the point and the plane. (Round your answer to three decimal places.) (4, 2, 1) x − y + 2z = 6
Isla, Bob and Marie are playing a game involving counters. The total number of counters stays the same throughout the game. At the start of the game, the ratio
Graph: f(x) = -√x Step 1: Evaluate the function to find three points. f(0) = -1 0 1 -2 2 1 -2 9 y 2 6 x x y