C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

what is 10 diffrence between while and do while loop with programming

+1 vote
3,775 views
asked by ranj

1 Answer

0 votes
The While and do While is having only one difference that is in While first we write condition and then enter into the loop

where as do While first it will enter into the loop and then check the condition..

eg:

while(condition)

{

//piece of code

}

do

{

//piece of code

}while(condition)
answered by sunny Expert (11,410 points)

Related questions

0 votes
1 answer 90 views
0 votes
1 answer 37 views
0 votes
1 answer 200 views
0 votes
1 answer 60 views
...