Decision making is anticipation of conditions occurring while execution of the program and specifying actions taken according to the conditions.
Decision structures evaluate multiple expressions which produce TRUE or FALSE as outcome. You need to determine which action to take and which statements to execute when the outcome is TRUE and what to do if it is FALSE.
Go ahead, modify the code above and see the difference!
You can download the code by clicking the download button in the white window.