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 aytt
6
Entry controlled loop gives statements to control the program during its enterence,while the exit controlled loop gives statements and controls the program during exit.Example of entry controlled loop is FOR LOOP and exit controlled loop is DO - WHILE LOOP. Mark as branliest if you find it helpful. Thanks.Hope it helps.
Answered by Anonymous
1

Entry controlled loop-

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

Entry controlled loop-This loop will not execute at all, if the condition is not satisfied.It check the condition first and then execution begins.Exit controlled loop-

  1. Entry controlled loop-This loop will not execute at all, if the condition is not satisfied.It check the condition first and then execution begins.Exit controlled loop-This loop will execute at least once.
  2. Entry controlled loop-This loop will not execute at all, if the condition is not satisfied.It check the condition first and then execution begins.Exit controlled loop-This loop will execute at least once.It check the condition only after execution of the loop.
Similar questions