208k views
0 votes
5. What is the significance of the EXIT DO and EXIT FOR statements?​

1 Answer

12 votes

Answer:

Exit Do transfers control to the statement following the Loop statement. When used within nested Do...Loop statements, EXIT DO transfers control to the loop that is one nested level above the loop where it occurs.

When used within nested For loops, EXIT FOR transfers control to the loop that is one nested level above the loop where it occurs.

Step-by-step explanation:

I HOPE it can help....

User Kafo
by
7.6k points