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

there are six black socks, 6 blue socks, 12 white socks, and 4 pattern socks in the drawer. what is the probability of pulling a blue sock replacing it and then
picture i paint made from badda td AND i do this made from 404vincent witch song is better
A physical oceanographer studies all of the following except: ete of Select one: a. Currents b. Waves c. Tides d. Fish Check
HELP PLZ
What's the possessive form of the singular noun agency
Selected accounts with some amounts omitted are as follows Work in Process Oct. 1 Balance 23,900 Oct. 31 Finished goods X 31 Direct materials 91,000 31 Direct l
A game require rolling a six sided die numbered fro 1 to 6. What is the probability of rolling a 1 or a 2?
I need help with this one it’s asking to write the equation of the line in slope intercept form
Which value is equivalent to cos 10°? sin 30° O sin 25° O sin 70° O sin 80°
The volume of a shampoo illed into a container is uniformly distributed between 374 and 380 milliliters. (a) What are the mean and standard deviation of the vol