Answers

2015-09-01T19:22:43+05:30
The difference between the do while loop executes at least once because it checks for the loop condition while exiting

let's say a is 1
the code

do{
//something
}while(a==5)

will execute once but

while()a==5){
??something
}
will not

the loop condition for while fails at loop entry,but do while executes once ,then checks for loop condition,and then fails



0
Thanks for your answer
if it helped its my pleasure