x + y + z // associativity (left to right) x - y + z // associativity (left to right) x - y / z // precedence (/ before -) x - y / z + z // precedence and associativity + / \ + z / \ x y + / \ - z / \ x y - / \ x '/' / \ y z + / \ - z / \ x '/' / \ y z