Ask Question
1 September, 01:26

Describe the difference between the while loop and the do-while loop.

+5
Answers (1)
  1. 1 September, 02:56
    0
    The difference between While loop and Do - While loop are explained below.

    Explanation:

    While loop : It is a looping procedure in which the statements inside the while loop are executed depending on the condition outside the while before starting the loop. If the condition is true then the code inside loop is executed otherwise not. Do - While loop: It is a looping procedure in which the statements inside the loop get executed and then the condition at the end of the loop is checked. This means even the condition is fails the statements inside the loop are executed once. Do while loop name itself suggests that "do the while and then check the condition".
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Describe the difference between the while loop and the do-while loop. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers