Quote (thugsrus0790 @ Sep 21 2014 01:52pm)
http://i.gyazo.com/3769f5e0161c6f044725ca32176f3cf7.png
So i have Everything else on the program correct, but for some reason the Average keeps coming out to 97.0 instead of 97.5
Anyone know why?
EDIT
"final int SCORE1 = 100; // first test score
final int SCORE2 = 95; // second test score"
Since SCORE 1 and SCORE 2 are ints, your average calculation is treated as an integer operation.. You need to cast your inputs to DOUBLE before the operation..
Code
average = ((double) SCORE1 + (double) SCORE2)/NUMBER;