Answer the following
X=1
I=1
DO WHILE I<=5
X=X*2
I=1+1
PRINT X
LOOP
1. What is the output of the program?
2. How many times does the loop run?
3. What is the value of X when the loop terminates?
4. What is the value of I when the loop terminates?
5. What is the * symbol indicate?
Answers
Answered by
2
Answer:
1. 1
2
4
2. 3 TIMES
3. Value of X is incrementing { Syntax : X = X*2 }
4. Value of I is incrementing { Syntax : I = I+1 }
5. Multiplication.
Explanation:
Mark AS BRAINLIEST
Similar questions