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,706 views
asked Jul 31, 2014 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 Aug 9, 2014 by sunny Expert (11,410 points)

Related questions

0 votes
1 answer 84 views
0 votes
1 answer 414 views
0 votes
1 answer 34 views
34 views asked Dec 27, 2013 by rajesh Guru (39,140 points)
0 votes
1 answer 193 views
0 votes
1 answer 58 views
58 views asked Feb 24, 2014 by john Guru (27,140 points)
...