A loop is a sequence of instructions that are repeated until a specified condition is achieved. For example:
- A survey may contain a question that asks How satisfied were you with your trip to INSERT RETAILER?, and this question may be repeated once for each retailer that the respondent had indicated they had visited in the previous month.
- In a computer program may loop through the list of all people in a database, sending an email to each.
Please sign in to leave a comment.