Implement if, else if and else statements.