4/6/11

Need of Control Statement:

In general, Program is a set of or block of statements which will execute one by one (flow of execution) or one after another sequentially.

But in some suituation, need to move one part of the program to another part of the same program either based on some condition or without condition.

In some suituation we may need to execute either a single or a set of statements repeatedly either for specified number of times or until a given condition is satisfied.

So, In such suituation we need to control the flow of execution. for that we need control statements, which will control the flow of execution.