KnowledgeBoat Logo

Computer Applications

Give one difference between while and do while loop.

Java Iterative Stmts

ICSE

3 Likes

Answer

whiledo-while
It is an entry-controlled loop.It is an exit-controlled loop.
It is helpful in situations where number of iterations are not known.It is suitable when we need to display a menu to the user.

Answered By

3 Likes


Related Questions