if else statements and mathematical operators in