##AIM: To study different loops in C++
##THEORY:
In programming languages, a loop is used to achieve the task of executing a block of instructions multiple times.The loop is run till the desired condition is reached.C++ supports loops such as do,do-while and for loop.
##SYNTAX
1.while loop – First checks the condition, then executes the body.
2.do-while loop – firstly, execute the body then condition check.
3.for loop – firstly initializes, then, condition check, execute body, increment.
##OUTPUTS