Computer Science, asked by mastann222, 2 months ago

in situations where we need to execute the body of the loop before testing the condition, we must use which loop
for
Do while
While
Nested for loop​

Answers

Answered by ayush64047
1

Answer:

In while loop, a condition is evaluated before processing a body of the loop. If a condition is true then and only then the body of a loop is executed

therefore while loop is the correct answer.

Answered by mousmikumarisl
0

Answer:

The correct answer is While loop.

Explanation:

  • When using a while loop, a condition is assessed before processing the loop's body.
  • The body of a loop is only run if and only if a condition is true.
  • Only the loop's body is executed if the condition is met.
  • After completing the loop once, the control returns to the start.
  • If the condition is true when the condition is verified, the loop's statements will be repeated until the condition is false.

#SPJ3

Similar questions