Conditional and relational operators | nested if statements - Codanics