Computer Science, asked by VikashAron, 1 year ago

state the difference between entry and exit control loop? give one example of each.

Answers

Answered by Vintage
1
Entry controlled loop is the one in which the condition is tested before entering the loop body. It may not be executed even once. For eg. for and while loop
Exit controlled loop is the one in which the condition is tested after entering the loop body. It may not be executed even once. For eg. do while

Vintage: plz mark brainliest
Answered by Anonymous
1

Entry controlled loop-

  1. This loop will not execute at all, if the condition is not satisfied.
  2. It check the condition first and then execution begins.

Exit controlled loop-

  1. This loop will execute at least once.
  2. It check the condition only after execution of the loop.
Similar questions