Say we wanted to write a program that asked the user how many times they wanted a phrase repeated .
 in that case we will continuosly use the cout and printf statement ic cand c++ resp.
so in this case the program will be very to solve this problem  loop is used

LOOP is the sequence of instruction that is continuously repeated
untill a certain condition is reached

loop is 3 types :

1. for loop
2. while loop
3. do-while loop

in my next post i will describe all loop.....
remember programming can be done only when you know its theory

Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates