Evaluation of expressions
a * b + c Would multiply a * b first, then add c to the result.
If we really want the sum of b and c to be multiplied by a, use parenthesis to force the evaluation to be done in the order we want.
a * ( b + c )
Previous slide
Next slide
Back to first slide
View graphic version