the _loop can be applied to a program where the number of iterations is not known before hand
a. while
b. while ...else
c. for...not...else
d. for
Answers
Answered by
42
The "while" can be applied to a program where the number of iterations is not known before hand.
Explanation:
Looping is the act of repeating something until a certain condition is satisfied. Loops are mainly used to iterate through arrays or repeat cօde specific amount of times. It's saves our time and execute cօde repeatedly.
When something is unknown, "while" is used more often. You don't know when it will be valid, the process will be repeated until it is valid.
With continued use you will notice that "for" is used more when you have a specific time for repeat it over and over again. A good example is if you want to count from zero to ten.
To know more about looping, refer to the link below:
brainly.in/question/48289163
Answered by
7
Answer:
while loops
- Use while loops where exact nu~mber of iterations is not known but the loop termination condition is known. Use do while loop if the co`de needs to be executed at least once like in Menu driven programs
Explanation:
✍️While Loop is right answer
hope this helps you
Similar questions