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

I’m confused on this one
A(n) ________ stock will likely suffer the least amount of depreciation in a major recession
Write a letter of about 100 words to a family member, taking the point of view of a freed slave, a Northerner, or a Southerner. Express your feelings about Reco
Carbon dioxide and water vapor are variable gases because _____. their amounts vary throughout the atmosphere they only make up 1% of the atmosphere sometimes t
A quality control officer is randomly checking the weights of flour bags being filled by an automatic filling machine. Each bag is advertised as weighing 900 gr
Suppose you did a survey of male shoes size and the mean of that survey was size 10.5 with a standard deviation of 1.5. What is the z-score of a size of 8? –1.6
A religious heretic was known as Catholic priest charged with converting others to Catholicism. a person who tried to convert others to his or her religion. an
can someone please help ASAP! Find the area of the shaded region using Pick's theorem. A. 35 B. 15 C. 20 D. 20.5
What is the missing statement in the proof? Scroll down to see the entire proof. ∠BDC≅∠ADB ∠BCA≅∠DCB ∠BAC≅∠BAD ∠DBC≅∠BAC Done Given: Δ
An art gallery is increasing the asking price of its sculptures by 30%. A sculpture now costs $520.00. How much was the sculpture before the increase?