Home / Questions / State the difference between entry controlled loop and exit controlled loop.
Explanatory Question

State the difference between entry controlled loop and exit controlled loop.

👁 176 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Difference between entry controlled loop and exit controlled loop:

  • Entry controlled loop: The condition is checked before entering the loop body, so the loop may not execute at all if the condition is false. Examples: for, while.
  • Exit controlled loop: The loop body is executed at least once, and the condition is checked after execution. Example: do-while.