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

The domain for f(x) and g(x) is the set of all real numbers. Let f(x)=3x+5 and g(x)=x^2 Find (f+g)(x) A. x^3+5 B. 3x^2+5 C. 3x^3+5x^2 D. x^2+3x+5
pls pls help me please!!!!
Which of the following is not true of carbon? (2 points) It can form rings. It has a valance of four. It forms strong ionic bonds. It can bond to form long chai
write the first 10 multiples of 3
Simplify the algebraic expression: 14xy + xy – 4yx + yx
Which of the following is an example of an active crowd
write and order pair of the location to the bank
which statement best compares attitudes of the north and south during the civil war
Someone help me do this question step by step please? ASAP
Christine is participating in a 4-day cross-country biking challenge. She biked for 66 ,62 ,47 and miles on the first three days. How many miles does she need