the repetition structures we have discussed this week can be used interchangeably; however, there are a few occasions when one is clearly preferable to another. discuss, in detail as well as illustrate with an example, how to determine which structure to use when there is no clear indication. additionally, how much of the choice should be based on personal preference and how much on conventional practices?

Answer :

When a program needs to process one or more instructions repeatedly until a condition is met, at which point the loop stops, repetition structures, sometimes known as loops, are utilized.

Numerous programming tasks are monotonous and rarely differ from one another. Counting and accumulating running totals, repeatedly accepting input data, and recalculating output values that only stop upon entry of a designated value are a few examples of such repetition. Another is the continuous checking of user data entries until an acceptable entry, such as a valid password, is made. Depending on the loop termination criterion, these repetition control structures can be used to repeatedly run the statements in the loop body.

Learn more about input here-

https://brainly.com/question/24179864

#SPJ4