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

Ricardo's dog weighs 6 times as much as his cat.The total weight of his two pets is 98 pounds. How much does Ricardo's dog weigh ?
Tamara bought one quart of juice. She drank one pint of juice. How many cups are left?
persevering will help you achieve your goals. a) noun b) verb c) adjective d) adverb
Which of the following is considered a bronchodilator? a. Acetylcysteine b. Guaifenesin c. Theophylline d. Epinephrine HCL
The Three-Fifths Compromise determined how population would be counted for: A: Representation in Congress and also immigration ration B: Direct taxes on the pop
The population of a small town in 1990 was 1,200 people, and the population in 2000 was 2,700 people. Let x represent the number of years since 1990. Let y repr
Who is the first President?
All of the following were key components of the Henry Clay's American System EXCEPT which one?
Who won the 1968 us presidential election by running on a platform of a victory with honor in vietnam
Why did Paine believe that Britain was unworthy of being called a republic?