結果 : using if function to return multiple values