Loop Control Structures All programming languages offers loop control structure (also known as looping) allowing programmers to execute a statement or group of statements multiple times. In looping, the sequences of statements are executed until some exit condition is satisfied. The looping construct is composed of two parts: body of loop and control statement. In entry controlled loop the exit/control condition is checked before executions of statements inside loop body. In exit controlled loop the exit/control condition is checked after executions of loop body. This means that in case of exit controlled loop, body will be executed at least once before exiting from the loop.4 for while do...while The For Loop The for loop is normally used when we want to execute block of statements fixed number of times. To make for loop more dynamic, we can use the exit condition inside for loop. Syntax of For Loop for ( expression1; expression2; expression3) The header of for loop cont...
All computer course for class 9th to 12th with proper practical and theory .........