The do while loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop.
A loop is a set of instructions in computer programming that is repeatedly repeated until a given condition is met. Typically, a process is performed, such as retrieving and modifying data, and then a condition is verified, such as whether a counter has reached a predetermined number.
A loop is used to execute a set of statements repeatedly until a specific condition is met. When showing numbers from 1 to 100, for example, you may want to set the value of a variable to 1 and display it 100 times, raising its value by 1 on each loop iteration.
To learn more about loop from the given link:
https://brainly.com/question/19344465
#SPJ4