Decision Making in C++
source link: https://www.geeksforgeeks.org/videos/decision-making-in-c/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Decision Making in C++
- 30 Views
- 12/05/2022
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 on these decisions we will execute the next block of code. For example, in C if x occurs then execute y else execute z. There can also be multiple conditions like in C if x occurs then execute p, else if condition y occurs execute q, else execute r. This condition of C else-if is one of the many ways of importing multiple conditions.
Decision Making in C++ :https://www.geeksforgeeks.org/decision-making-c-c-else-nested-else/
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK