Sometimes you need to do a series of actions for a number of times, or until some condition is met. The code written for that purpose is called a loop.
LOOP: In looping, a sequence of statements are executed until some conditions for the termination of the loop are satisfied. loop contains two parts 1. Body of the Loop 2. Control statement in C-language there are three constructs for Loops 1.The While loop 2. The Do ..While loop 3. The For Loop 1.While ( Condition) { Body }; 2.Do { Body } While (condition); 3.for ( i=1;i<=100;i++) { Body } try some online tests at wiziq dot com that will help to build your knowledge. Kolla Sanjeeva Rao