POSITION:028,114
COLOUR:STANDARD
TEXT:00,We can fix this by using parentheses to force different parts of the
TEXT:16,expression to be worked out in a manner different from precedence of
TEXT:16,operators:
COLOUR:EUPHORIA
TEXT:32,average_rent = (rent1 + rent2 + rent3) / 3
COLOUR:STANDARD
TEXT:32,This forces the three rents to be added together before division takes
TEXT:16,place. A complete list of precedence operators is in the Euphoria
TEXT:16,Reference Manual.
TEXT:32,This completes your introduction to assigning atom (and object) type
TEXT:16,variables. If you clearly understand variable assignment, arithmetic,
TEXT:16,logical and relational expressions, and precedence, move on to sequence
TEXT:16,variable assignment in the next chapter. If not, please go over the two
TEXT:16,chapters again . You must understand these concepts before moving on to
TEXT:16,sequence variable assignment.

