Demonstrates the use of if - then statements.