which of the following will take action based on an action only once option A repeat until condition option B if condition then option C repeat – option D none of these
Answers
Answered by
0
while Loops ( Condition-Controlled Loops )
- Both while loops and do-while loops ( see below ) are condition-controlled, meaning that they continue to loop until some condition is met.
- Both while and do-while loops alternate between performing actions and testing for the stopping condition.
- While loops check for the stopping condition first, and may not execute the body of the loop at all if the condition is initially false.
- Syntax:
Similar questions