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

Solve for "X":2x - 5 = 11 ​
The profit on a jacket can be found by the formula P=24x-125, where x is the number of jackets sold. What is the profit if 15 jackets are sold?
Question 1 of 10 1 Point Which would be the best title for the passage? Click to view the passage, "Photographs." O A. Digital Fakes B. Computer Tricks O O c. W
The ratio of the perimeters of two similar triangles is 4:7. The sides of the larger triangles are 10, 12, and 13cm, respectively. What is the perimeter, in cen
Are monopolies good or bad or both and why?
Which document is a primary source concerning the American Revolution?
This is a True or False question. Landmark cases help predict the decision of current judicial cases.
What were the effects of the increase in White Collar Jobs?
Character and Setting in "To Build a Fire," Part 1 Quiz Active TIME REMAINING 59:36 Read the passage from Part 1 of "To Build a Fire." What do these details abo
What is molecular gastronomy