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

A turtle is 20 5/6 inches below the surface of a pond. It dives to a depth of 32 1/4 inches. What was the change in the turtles position? Write your answer as a
True or False: The sample size you need to estimate the population distribution should always be at least 10% of the population size.
To what phylum and class do tapeworms belong
In the seven step military problem solving process you have identified the problem. what is the next step?
What are the three interactive factors that play a critical role in shaping our personality according to social cognitive theory?
True or false? You can use a keyword search to find maps, time lines, and charts on the World Wide Web. A. false B. true
For safety reasons, in case of an aborted takeoff, the length of the runway must be three times the takeoff distance. what is the minimum length runway this air
Chris knows that pat struggles with infertility issues. to hit pat during a conflict with the inability to have children is known as
Find the exact value of tan (arcsin (two fifths)). For full credit, explain your reasoning.
Read the two passages. Excerpt from The Gettysburg Address, 1863 By Abraham Lincoln Four score and seven years ago, our fathers brought forth upon this conti