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 condition of earth's atmosphere at a certain time and place
The sum of three integers is 92. The second number is three times the first number. The third number is ten less than twice the first number. Find the integers.
1. Which of the following statements describes the political climate in Boston after April 20, 1775? (1 point) a)Bostonians find themselves at odds with colonis
The game of lacrosse seems complicated to me. How does the word complicated function in the sentence? A.predicate nominative B.indirect object C.predicate adjec
sebutkan bunyi hukum newton 1
Which sentence uses the underlined word correctly? A. The tall oak trees provide good shade during the day. B. The tall oak trees provide well shade dur
A circle has a radius of 12cm. What is the area of that circle? Round to the nearest tenth. ( A = nr withe the 2 on top of the r)
What tradition did the Bantu people bring with them throughout their migrations? farming hunting and gathering trading craftsmanship
What is the correct order of the following events on the road to German unification? 1. Zollverein 2. North German Confederation 3. Frankfurt Assembly 4. Confed
how many colonies were founded in the 1620's?