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

How can I solve this equation X-5=0.1(x+5)
During an interview about explorers like Christopher Columbus, your subject announces that he still believes the earth is flat. You disagree. Which of the follo
The time required for an automotive center to complete an oil change service on an automobile approximately follows a normal​ distribution, with a mean of 17 mi
How was soap made? I’m very confused how soap is made and it smell good to all the time
What is twenty five minutes before 8
−12 ≤ 44+x Solve for x
18 divided by 6 minus 4 plus 12
I NEED HELP PLEASEEEEEEEEEEEEE (I'm giving 35 points) Length of a rectangle is 5 cm longer than the width. Four squares are constructed outside the rectangle
Factor completely. x2−8x+15 Do not include any spaces in your answer. Use parentheses to separate your factors. A sample answer might be (x+1)(x-4). Question 5
What is the pattern in the values as the exponents increase?