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

The lengths of pregnancies are normally distributed with a mean of 268 days and a standard deviation of 15 days. if the length of pregnancy is in the lowest 4​%
A child rides around on a Ferris wheel twice. ( this isn’t a question I’m providing an answer)
Which equations are equivalent? Select all that apply. 1 + x = 3 x – 4 = -2 1 + x = -2 x + 3 = 5 x – 5 = 3
Why did Columbus take three ships on his exploration voyage to the new world? A. Different routes B. Good luck
How many arrangements can be made using 2 letters of the word HYPERBOLAS if no letter is to be used more than once?
In 1960 the United States launch operation rolling thunder which involved
A keyword outline on note cards may include the full text of which of the following? (This is a multiple choice)introduction main points transitions quotat
In Spanish, interrogatory sentences have a(n) _____ at the _____ of the sentence.
Quando olho para as perspectivas que minha cara de beterraba enfrenta, meu coração afunda para a nossa terra moribunda e rio de secagem. embora eu não conheça m
How many solutions does h=(1/5)w+(8/5) have