2013-02-04, 07:20 PM
Dusk Wrote:Subtract and assign is -=, not =-.
Try:
total -= high + low;
Well that was dumb, I knew that. ;_;
JoeTang Wrote:You're also dividing total by an integer by an integer so you're getting an integer back that goes into a double so it gets rounded.
You'll want to divide by 8.0 or cast it with a (double).
Okay, that worked. Thanks, guys!
I'm still getting an incorrect answer, though (95.50 now). Not sure why.

