Control Statements in C++

When we run a program, the statement are executed in the order in which they appear in the program. Also each statement is executed only once. But in many cases we may need a statement or a set of statements to be executed a fixed no of times or until a condition is satisfied. Also we may want to skip some statements based on testing condition. For all these we use control statements.
There are three types of Control Statements,
1. Conditional Statements
2. Looping Statements
3. Jumping statements

Leave a Reply

Your email address will not be published. Required fields are marked *