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

The coordinates of the vertices of triangle ABC are given in the table. A = (4,2) B = (6,7) C = (13,1) Triangle ABC is reflected across y=−x . What are the vert
Abel opened a bank account. He deposited $63.50 into his account every month for 20 months. He used $40.50 every month to pay for comic books. After 20 months,
Brutus It must be by his death, and for my part I know no personal cause to spurn at him But for the general. He would be crowned. How that might change his
Tanisha lives with her older sister and helps with the rent by paying $500 per month. Her annual salary as a child care specialist is $14,700 after taxes. Shopp
Raul has 56 buncy balls. he puts the ball into 4 green gift bags. If he puts the same number of balls into each bag, how many balls does he put into each green
What are the 2 main parts of the cell cycle?
A. what do you know mass =579 g, volume = 30 cm3 B. what do you want to find Density
Is a American Robin a Carnivore, Herbivore, or an Omnivore?
Which of the following sentences is grammatically correct? I was late to dinner there was a traffic jam. I was late to dinner, there was a traffic jam. I
what does Lt. Cross think about all the time