None
2008-05-22 01:46:43 UTC
*
double average = x + y + z / 3;
Which of the following statements is correct?
A) The code always computes the correct average.
B) The code works correctly provided x, y, and z are variables of type double
C) The code works correctly provided x, y, and z are variables of type int
D) The code only gives the right answer when x = -y
Won't it always give the wrong average? because its missing the ( ) around the numbers it needs to add?