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.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.