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

Which of the following is an agent of socialization? a. a grandparent c. TV b. school d. all of the above
Water makes up _____ of the surface of Earth.
Why is it good to have theTen Commandments
You have to make a choice about which of two colleges to attend. You can't really explain it, but you feel strongly that you want to choose one over the other.
Which of the following case decisions gave the U.S. Supreme Court the power of judicial review? Brown v. Board of Education Texas v. Johnson Plessy
Nuclear energy can be used to power _______. a. street lights b. 4es c. homes d. all of the above
Heart disease and cancer were two of the most common causes of death in 2006. Please select the best answer from the choices provided. T F
What is the value of 5.7 × 108? a. 5,700,000,000 b. 5.70000000 c. 570,000,000 d. 57,000,000 User: Which of the following has a value of 84? a. 83 b. 512 c
how are proteins used in mating by Japanese beetles?
abby is putting tiles on a floor she needs 48 tiles and 8 rows each row has 6 blue tiles the rest are purple how many purple tiles will she need