Identify the logic which suits the flowchart?
Answer options
A
Do-while loop
B
for loop
C
nested loop
D
While loop
E
the condition becomes false.
Correct answer: Do-while loop, While loop
Explanation
The source marks the correct answer as: While loop.