It isn't a question of "wouldn't...?", it's a question of "does it ... or not?". In other words the task at this point is to see what is going on. The code I posted - which is just yours with a...
Type: Posts; User: pbrockway2
It isn't a question of "wouldn't...?", it's a question of "does it ... or not?". In other words the task at this point is to see what is going on. The code I posted - which is just yours with a...
So, what did you expect or intend it to print?
I notice that getAnnualDis() - the thing that is printed - returns distanceAnnual and that there are exactly two places where this variable is given...