Which of the following is an entry-controlled loop?

Answer: d
Explanation: Both while and for loops are called entry controlled loop because in both of them the termination condition is checked before we enter the body of the loop hence they are called entry controlled loop.
 

Tìm kiếm

Back
Top