Loop Statement in c++
Loops
A statement or a set of statements that is executed repeatedly is called loop. The statement(s) in a loop are executed for a specified number of times or until some given condition remains true.
In C++, there are three kinds of loop statements. These are
- The "while" loop
- The "for" loop
- The "do-while" loop