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

Write out at least three steps on how you solve for side AB
Evaluate 6 + 4/a + b/3 when a=4 and b=3.
What is 3x + 15 less than or equal to 30
Ashton, Bryan and Charles were given the same number of funfair tickets to sell. Charles sold 92 tickets. Bryan had twice as many tickets left unsold as Ashton'
A cannon fires a shell at 150 m/s at an angle of 20 degrees to the horizontal. How long is the cannon ball in the air if it lands in the ground level with the m
Draw 2 diagrams for single, double and triple covalent bonds formed in differant molecules.​
What is a central idea of "Perseus and the Quest for Medusa's Head"? Responses A. An angry king tries to shame Perseus, whom he hates, but the plan backfires w
Acellus Business Math Question! ​
Which is not needed in order for a military ID to be considered a valid form of id A) date of birth B) physical description of the holder C) expiration date
2. The formula A = ab is used to solve the O A. weight O B. area O C. height O D. length of rectangles and squares.