Loop is used to repeat a statement or more statements. There are three loops in C++.
Do While
Do while almost similar with while. But, it always execute statement because do-while will check condition after all statements executed.
Example :
10 finished
If you use while, it won't print numr's value because the condition is false from the beginning.
Example :
finished