Computer Science, asked by swastikpathania, 4 months ago

The number of iterations refers to the number of times the condition is met (true/false)​

Answers

Answered by aastha12812
9

True will be the answer.

Answered by dreamrob
2

The number of iterations refers to the number of times the condition is met: False

Reason : Because in do-while the loop will iterate at least once even if the condition is not satisfied.

Types of Iteration :

  1. for
  2. while
  3. do while

1) for

for (initialization ; condition ; update)

{

   // body

}

2) while

initialization;

while (condition)

{

  // body

  update;

}

3) do while

initialization;

do

{

  // body

  update;

}

while (condition);

Similar questions