1/18/00
COM1100 Winter2000 Yuhong Yin Northeastern University
6
Review of previous lectures -- 2
nArithmetic operation
nIn the absence of parentheses, expressions containing multiple arithmetic operators are evaluated by the priority, or precedence.
nExample
nint result;
n  result = (8 + 2) * 6 % 7 - 10 / 5;
n  cout << "The result is : " << result << endl;
n
n