PPT Slide
Execution of a conditional statement allows a choice of execution.
if ( <boolean expression> )
if ( <boolean expression> )
The first form is executed as follows: if <boolean expression> is true, then execute <statement>
The second form is executed as follows: if <boolean expression> is true, then execute <statement 1>
if the <boolean expression is false, then execute <statement 2>.