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

a dog is moving at a constant speed of 8 m/s. what is the dog’s acceleration
Match the following: 1. atheistic 2. evangelical 3. methodology a Christian who emphasizes a belief in the Bible and salvation not believing in the existence of
6. Read the passage and answer the questions that follow. There were once three artists who were competing for a prize. One of them painted a wreath of flowers
Which graph shows the greatest integer function?
Pls explain this to me, I don't understand why the answer is a^3 +b^3 and not a^3-b^3
Select the correct answer. Read the excerpt from paragraph 5 in the text. For all our success, there are still dangerous run-offs of toxins and pollutants into
Many television stations actually started in the 1920s as _. retail stores radio stations government agencies theaters
when jack arrives at a party hes offered alcohol which of the following should be a part of jacks refusal
HELP FACTORISE ITS DUE IN TODAY PPLEASE
Step 1: We know that Angle A B C Is-congruent-to Angle F G H because all right angles are congruent. Step 2: We know that Angle B A C Is-congruent-to Angle G F