Computer Science, asked by Arya2230, 8 months ago

what is do while loop​

Answers

Answered by Anonymous
2

The do while loop is a post tested loop. Using the do-while loop, we can repeat the execution of several parts of the statements. The do-while loop is mainly used in the case where we need to execute the loop at least once. The do-while loop is mostly used in menu-driven programs where the termination condition depends upon the end user.

Answered by msrishti0104
1

Answer:

Do while loop is an exit controlled loop which brings the execution of the program in the loop atleast once even if the condition is false.

The block of statements in the loop will be executed atleast once irrespective of its satisfying the condition.

The syntax of do while loop is:

do{

block of statements

}while(condition)

If this answer is helpful, please mark it the brainliest:)

Explanation:

Similar questions