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

Line AB and line BC form a right angle at point B with points A (2,5) and B(8,3). what is the equation of line BC?​
During a NASCAR race a car goes 58 m/s around a curved section of track that has a radius of 260 m. What is the car's acceleration?
Consider all seven-digit numbers that can be created from the digits 0-9 where the first and last digits must be odd and no digit can repeat. What is the probab
what is the full form of LAN​
Imagine that you're doing an experiment to determine how the running speed of a hamster depends on the weight of the hamster when plotting your data what variab
A person buys a used car with a down payment of $1,200 and makes monthly payments of $275 for 3 years.What is the total amount of the person pays for the car?PL
How many units were started into production in a period if there were zero units of beginning work in process inventory, 4,714 units in ending work in process i
what is special education
HELP ASAP: How did the Soviet Union's successful launch of the Sputnik satellite influence US society?
The resistivity of pure water is fairly high, 1.8 × 105 Ω·m, whereas the resistivity of sea water is a million times lower, 2 × 10-1 Ω·m. Why does the high salt