To guarantee the correct precedence of the operators, any triple
(<expression> operator <expression>)
should be put into brackets, independent whether the is an arithmetical, relational, or logical one.