202k views
5 votes
Anisha was learning ‘for’ and ‘while’ loop. Help her understand why for and while loops are called entry controlled loops.

User BlackHat
by
5.4k points

1 Answer

1 vote

Entry controlled loop - The loop which has a condition check at the entrance of the loop, the loop executes only and only if the condition is satisfied is called as entry control loop.

So, for and while loops are its examples.

User Sckott
by
5.1k points