Explain the differentiate between DO WHILE and DO UNTIL loops with an example
Answers
Answered by
1
Answer:
A "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
1
Answer:
DO WHILE loops do a task while the user does another specific task.
DO UNTIL loops do a specific task until a time/a task is done.
Similar questions