Conditional statement:
Sometimes we need to execute a statement only if a condition is true and do nothing if the condition is false. This is equivalent to the alternative statement in which the else clause is empty. This variant of alternative statement is called a conditional statement. If C is a condition and S is a statement, then
is a statement, called a conditional statement, that describes the following action:
1. Test whether C is true or false.
2. If C is true then do S; otherwise do nothing.
The conditional control flow is depicted in the flowchart.