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

When forming a positive ion, electrons are lost from which shell?
Resources Complete each of the definitions with the appropriate phrase. Precision means that measurements are close to measurements are close to Accuracy means
how did the slaves feel after the civil war ended?
What does the supremacy clause do
Are these two molecules structural isomers, geometric isomers, or not isomers at all? 0 They are not isomers. 0 They are structural isomers. o They are geometri
Which is the irrational number? [tex]-\frac{16}{4}[/tex], [tex]\sqrt[3]{64}[/tex], [tex]\frac{15}{8}[/tex], or [tex]\sqrt{26}[/tex]
Which of the following is NOT true about a hypothesis? A. It is an explanation for an observation B. It must restate the question C. It is testable D. It can be
of his cal come Lee wants to gains of lean muscle mass. His dietitian surested he consume 2600 kcal each day and that from proten How many kcal from protein sho
GEORGE (laughing as he jumps up from the sofa and rushes from the room): I've got to catch my mother before she leaves. I forgot to get money for the concert to
Which is the graph of y = ⌊x⌋ – 2?