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

What is the sum of an 8-term geometric series if the first term is 12 and the last term is -3,359,232?
solve for w. 7w=11.2
Read this excerpt from "Gravity" by Judith Ortiz Cofer: Actually, though I would never have admitted it then, I loved the dancing and the food, and especially l
is the use of technology important in teaching and learning to make learning easier ?
If (f + g)(x) = 3x2 + 2x – 1 and g(x) = 2x – 2, what is f(x)?
Kris wanted to understand whether studentstudents at her school were in favor of an extended school day. She surveyed some students and displayed the results in
The balanced equation for the reaction occurring when iron(iii) oxide, a solid, is reduced with pure carbon to produce carbon dioxide and molten iron is
In women, Gonorrhea is a common cause of pelvic inflammatory disease (PID). Which of the following is not a complication of PID? Choose the best possible answer
When the shepherd is tempted to let fate control his life, the attempt fails. What idea does the author try to communicate?
A medical plan requires a patient to pay a $25.00 copay plus 20% of all charges incurred for a medical procedure. If the average bill for a patient is between