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

Part A: Describe two types of transformations that can be used to transform f(x) to g(x). (2 polnts) Part B: Solve for k in each type of transformation. (4 poin
Is the study of how individuals and institutions make decisions in a world of scarce resources.
Which line from the text suggests that british propaganda aimed at angering the public had been successful? ""it was a pity that miss cavell had to be executed.
Once a weakness is identified, what is the next step in behavior change?
Type the correct answer in each box. use numerals instead of words. if necessary, use / for the fraction bar. chris is playing a card game with his friends. the
The parent function f(x)=√x is transformed to g(x) = f(-x) - 2. Which graph represents g(x)?
Which of the following factors influence the communication process? (select all that apply) 1) values and perspectives that a mode of condut is preferable. 2) k
_____ is the art and science of trying to get people to do what you want (dok 1, standard standard 2.1.n evaluate internal and external influences that affect f
Complete the equations
Give your answer in the form y = mx + c , where m and care integers or fractions in their simplest forms.​