Decision Making in C++ (if , if..else, Nested if, if-else-if )

There come situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next. Similar situations arise in programming also where we need to make some decisions and based…