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

Major factors that determine a population's growth rate
How does the metaphor in this passage most clearly support the authors purpose
Two sides of a rectangle fence are 5 5/8 feet long. The other two sides are 6 1/4 feet long. What is the perimeter?
Which sentence BEST expresses the main idea of the story? A) People who are rich often get preferential treatment because of their money. B) Mr. Bullfrog thin
Choose the correct translation: you (formal) a. usted c. él b. tú d. ustedes Please select the best answer from the choices provided A B C D
Which best describes the part of Africa above the equator? A.Wet and hot B.Dry and desert-like C.Cold and damp D.Lush and green
Explain how habitat destruction reduces the range of a species in a particular region?
What statement is true about Roman and Byzantine and Islamic mosaics and tile work choose one answer that is correct.. They show religious images but not geomet
A different species of cockroach has weights that follow a normal distribution with a mean of 50 grams. after measuring the weights of many of these cockroaches
Lets say I have boiled some water in a pot to the point it turned into gas. Is that a physical or chemical change?