What is main different between do while and while?

1 answer

Answer

1025167

2026-08-18 06:20

+ Follow

If you want to execute a statement which is in while loop at least one time you can use do- while loop.

this is why because initially first statements will be executed then condition will be checked. but in case of while first condition will be check then statements will be executed

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.