Click
here
for if statement.
Click
here
for the codes below.