> Suppose a, b, and c are defined as int variables. Suppose NUM has been defined as an int named constant.?

Suppose a, b, and c are defined as int variables. Suppose NUM has been defined as an int named constant.?

Posted at: 2014-12-18 
Putting parentheses around

(a + b + c)

causes the summation to be performed first.

result = (a + b + c) / (double) (NUM);