What Is The Difference Between A While Statement And A Do While Statement

What Is The Difference Between A While Statement And A Do While Statement


  • 29 Dec, 2011

    A while statement checks at the beginning of a loop to see whether the next loop iteration should occur. A do while statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do whilestatement will always execute the body of a loop at least once.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.