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​


Answer :

Answer:

See picture.

Explanation:

Ran it on repl it.

View image TONB

Go Question: Other Questions