This is an illustration of a decision tree. A decision tree is a decision-making tool that employs a tree-like model of decisions and their potential outcomes, such as chance event outcomes, resource costs, and utility. It's one approach to show an algorithm using simply conditional control statements. Decision trees are a prominent method in machine learning and are often used in operations research, notably in decision analysis, to assist determine the approach most likely to achieve a goal. Undergraduate students in business, health economics, and public health institutions are taught decision trees, impact diagrams, utility functions, and other decision analytic tools and procedures, which are examples of operations research or management science approaches. EdrawMax Online decision tree creation is extremely easy, have a try!