Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


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


will execute once but

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 0 0
Thanks for your answer
if it helped its my pleasure
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts