
A repetition structure allows the programmer to specify that an action is to be repeatedwhile a condition remains true. The pseudocode statement While there are more items on my shopping listPurchase next item and cross it off my list describes the repetition that occurs during a shopping trip. The condition, “there are more items on my shopping list” may be true or false. If it is true, then the action, “Purchase next item and cross it off my list”...