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

Evaluate for c when f=77∘. c=5/9​(f−32) responses: a. 25.0∘ b. 35.0∘ c. 45.0∘ d. 55.0∘
Hỗn hợp X gồm một axit cacboxylic hai chức, no, mạch hở, hai ancol no đơn chức kế tiếp nhau trong dãy đồng đẳng và một đieste tạo bởi axit và 2 ancol đó. Đốt ch
what is meaning of sex ?​
F(x)=-4x^3+15x^2-8x-3 b.) Determine the possible number of turning points of f(x). # of possible turning points:?
calculate the length of third side of triangle if one side is 38.5 inches and the second side is 30 inches
Currently, the number of married adults in the United States :__________a. dropped from 1960 to 1980 and has climbed steadily since then. b. is about the same t
If the first term of a geometric progression is 16 and the 5th term is 9. Find the 7th term of the geometric progression
Lisa is a pet cat called Taddy. Is pet adjective or noun
Why John Glenn's 1998 Comeback To Space Became The Sparkplug For The Rise Of High Definition Television For Live News Coverages In The United States In 1998?
What is the empirical formula for a compound that undergoes combustion analysis and produces 12.32g of CO₂ and 6.71g of H₂O?