Flow control statements
The flow control statements allow you to conditionally execute statements, to repeatedly execute a block of statements, or to just change the sequential flow of control.
if/else statement
The if/else statement is used for decision-making -- that is, it decides which course of action needs to be taken. The syntax is:
if(boolean expression)
{