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,737 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 87 views
0 votes
1 answer 417 views
0 votes
1 answer 35 views
35 views asked Dec 27, 2013 by rajesh Guru (39,140 points)
0 votes
1 answer 195 views
0 votes
1 answer 59 views
59 views asked Feb 24, 2014 by john Guru (27,140 points)
...