The loop which is executed at least once is a) while b) do-while c) for d) none of the above
Answers
Answered by
0
none of the above
it is?
it is?
Answered by
4
Option(b) i.e "do-while" is the correct answer to the given question
Explanation:
- The main objective of the loop is used to execute one task many times until the condition is true in the loop.
- The do-while is also called the exit control loop because it checks the condition in the exit time. In the do-while loop at least once a time the instruction will be executed. So when we have to need to execute the instruction at least once then do-while will be used.
- The while loop and for loop only executed when the condition is true so these are the wrong options according to the question.
Learn More :
- https://brainly.in/question/15168360
Similar questions
Math,
7 months ago
Science,
7 months ago
Science,
7 months ago
English,
1 year ago
Computer Science,
1 year ago