0

What is difference between while loop and do while loop.?

In terms of loops

23rd Jan 2017, 6:08 AM
Anees Ahmed
Anees Ahmed - avatar
1 Answer
0
while loops run while the conditions are met, do while runs at least once even though conditions are NOT met. while runs the test immediately and do while first runs the code once and then tests the conditions.
23rd Jan 2017, 6:10 AM
Andre van Rensburg
Andre van Rensburg - avatar