Introduction to Decision Making
Decision-making is required when we want to execute a code only if a certain condition is satisfied.
Decision structures evaluate multiple expressions that produce TRUE or FALSE as an outcome. You need to determine which action to take and which statements to execute if the outcome is TRUE or FALSE otherwise.
Following is the general form of a typical decision-making structure found in most of the programming languages −