Using if else conditional statements to compare results of two expressions using relational operators