What is loop

Last updated on June 13th, 2020 at 08:26 pm

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.

Leave a Reply

Your email address will not be published. Required fields are marked *