Decision Making in The C++ Programming
Decision Making in C++
In this lesson, we will understand what Decision Making is and different type of Decision Making statements in C++ programming.
What is Decision Making
In C++ programming, Decision Making is a process in which a programmer test certain conditions in the program. If the condition is true, then a set of statements are executed and if the condition is false, then another set of statements are executed.
In C++ there are 5 types of Decision Making statements and they are:
- if Statement
- if else Statement
- if else if Statement
- Conditional Operator
- switch case Statement
We will discuss all the decision making statements given above in the upcoming lessons.