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 60/100 in simplest form
Two trains going in opposite directions leave at the same time. Train B travels 30 mph faster than train A. In 3 hours the trains are 330 miles apart. Find the
Which best defines the phrase "end of the Cold War"? A. Communist countries have disarmed all of their nuclear weapons. B. The Berlin Wall between East and W
what is 5/6 + 3/8 in the simplest form
For many years , Kiev was the the center of Russia. True or false
According to the following Punnett square, the female genotype is _____. TT Tt tt homozygous heterozygous
Please help 1. What is the correct formula for magnesium cyanide? A.MgCy B.MnCN C.Mg(CN)2 D.MgCN 2. What is the correct formula for dinitrogen pentoxide? A.2NO
what is a verb both past and present
In the summer Brian saw 20 movies at the theater. in the fall he saw one fourth as many movies. Write an equation that shows how many movies he saw in the fall
describe ways that chemistry has improved health