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

asked
User BlackHat
by
8.1k 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.

answered
User Sckott
by
7.9k points