Q3. Read the following program and answer the questions there B1
DO WHILE A<=10
PRINT A
A=A+3
LOOP
PRINT A
END
a. How many times the loop will continue?
b. What would be the value of A after LOOP statement?
C. How long the DO WHILE statement will execute?
d. What will be the output after executing the above program?
Answers
Answered by
0
Answer:
a) 3 times
b) 3,6,9
c) it will long for 3 times as it will end up with 9 and will satisfy the condition
d) Executed value
3
6
9
Similar questions