web analytics

What is loop

Loop

A loop is a particular area of a program where some executable statements are written which gets execution by testing one or more conditions. So, in looping, a sequence of statements is executed until some conditions for termination are satisfied.
A program loop therefore consists of two segments; the body of the loop and the control statement.

Thank you. Take a moment to share 🙏