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

Name three countries, from the north-east north-west and southern hemisphere, for the tundra biome
Could life as we know it exist on earth if air contained only oxygen? Explain What would happen to the supply of atp in your cells if you ate to few carbohydrat
what is the first 5 multiples of 32 and the first 5 multiples of 29
Mr. Derbyshire makes a business trip from his house to loganville in 2 hours. One hour later, he returns home in traffic at a rate 20mph less than his rate goin
How do you figure out the ratio stars to squares when there are 11 squares 5 stars and two circles in the data?
How do you show your work for 0.054 divided by 0.72
sixteen action figures are arranged equally on 2 shelves. How many action figures are on each shelf?Model the problem with both an array and a labeled tape diag
What is the evidence that Parliament held the REAL authority in the English constitutional monarchy?
All of the following are population characteristics EXCEPT (A) number of individuals (B) phenotype (C) sex ratio (D) age distribution (E) death rate
why do polar bears have sharp claws ?