Computer Science, asked by hemansh3797, 9 months ago

What is the minimum number of iteration in a 'do-while' loop

Answers

Answered by saumyasuman05
2

The minimum number of iterations in a do while loop is 1.

This is because it first executes the loop and then checks for the condition so even if condition is not satisfied the loop runs one iteration.

Answered by Agastya0606
0

The minimum number of iterations in a do-while loop is 1.

  • In most computer programming languages, do-while loop is a control flow statement that uses co-de block at least once, then removes the block, or stops performing it, depending on the given boolean state at the end of the block.
  • The do while creating contains a process symbol and status. First, the co-de inside the block is killed, and then the situation is checked. When the situation is right the co-de inside the block is killed again. This repeats until the situation is false. Because it does while the traps check the situation after the block is removed.

Similar questions