Understand how to chain if statements with else if for complex conditions.