C++ Decision Control Statements

C++ Decision Control Statements are nothing but the decision making statements that decides the order of execution of statements based on conditions. These are also called as “Control Statements“. While in the decision making statements the programmer specifies which conditions are to executed (or) tested with the statements that are to be executed. In case if the condition is true (or) false. But in some situations, we may have to change the order of the execution of statements depending upon specific conditions.

C++ Decision Control Statements

These statements contain a decision making control from a set of calculations. So, this type of structure requires the programmers to indicate several conditions for evaluating within a  program.

In C++ programming language we are having different types of decision-making statements. They are as follows:

  • if statement
  • if-else statement
  • nested if statements
  • switch statement
  • if-else-if ladder