(2+3)*4 evaluates to (5)*4, which is 20.
However, 2+(3*4) evaluates to 2+(12), which is 14.
They aren't equal.
You may go back to the question
You may also:
Skip to the next section. | Go up to the outline of lesson 4 |
---|
David A. Wheeler (dwheeler@ida.org)
The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s4s1r1.htm".