+ 1

Difference between Do... While Loop and While Loop

Can anyone make it clear for me? Does that the while Loop is in the end provides the statement independently work prior? If so, what is the use of it for?

10th Mar 2020, 11:36 PM
Taner Dogruyol
Taner Dogruyol - avatar
4 odpowiedzi
+ 2
do while loop run at least 1 time and while loop run at least 0 time.
11th Mar 2020, 1:21 AM
Prathvi
Prathvi - avatar
+ 1
Do while is exit controlled and while is entry controlled.
11th Mar 2020, 5:36 AM
Sonic
Sonic - avatar
+ 1
Sonic Gordon Prathvi thank you
11th Mar 2020, 8:30 AM
Taner Dogruyol
Taner Dogruyol - avatar