IF statement - is a conditional statement.
syntax:
if(conndition)
{
statement 1;
}
IF ELSE - also conditional statement that the program will choose the true statement or false statement depending on thier condition.
syntax:
if(condition)
{
statement 1;
stmt 2;
}
else
{
statement 1;
stmt 2;
}