Which loop is useful when you don't know the number of iterations in advance and want to exit the loop based on a condition?
do...while loop
do...while
for...of loop
for...of
while loop
while
for loop
for