Computer Science, asked by sona8163, 4 months ago

What is the difference between WHILE...WEND and DO UNTIL?​

Answers

Answered by sakshi791934
12

Explanation:

Do While" loop statement runs while a logical expression is true. This means that as long as your expression stays true, your program will keep on running. Once the expression is false, your program stops running. A "Do Until" loop statement runs until a logical statement is true.

Answered by kavyapsynergy
5

Difference between WHILE...WEND and DO UNTIL

  • The While loop verifies the condition first, then executes the statement(s), the do-while loop performs the statement(s) at least once before checking the condition.
  • The While loop is an entry-control loop, the do while loop is an exit-control loop.
  • The while loop allow for counter variable initialization before the body of the loop. The do-while loop allows for counter variable initialization both before and after the body of the loop.

Similar questions