Give your own example of a situation from real life, where you would use a for l
ID: 3649780 • Letter: G
Question
Give your own example of a situation from real life, where you would use a for loop. Write pseudocode to describe the situation and be careful to indent your code.Explain if each of the following cases is possible, for a for loop, in general (i.e. NOT for the particular for loop example you have given, but for ALL for loops in general) and if so, describe how it can happen:
The body of the loop is never executed.
The body of the loop is executed only once.
The body of the loop is executed unceasingly.
Explanation / Answer
The body of the loop is executed unceasingly.