EDIT: Fixed output too. The most obvious mistake I somehow managed to surpass took me almost 24 hours to notice...#-o
Type: Posts; User: mwebb
EDIT: Fixed output too. The most obvious mistake I somehow managed to surpass took me almost 24 hours to notice...#-o
Well, one thing I noticed is that I'm only supposed to have 5 private instance variables. I added 3 more to use for the mutator methods (which I need). I think somehow I'm supposed to build the...
fillup[index].calcDistance(); didn't come up as an error and seemed to be a potential solution. But the thing is I have to go by certain guidelines. For example:
for (int index = 0; index <...
Dang, you guessed pretty good. Though that example is in 2 classes as well. I tried plainly making a separate statement in the main saying something like fillup.calcDistance(); but it didn't...
I thought I did that with myDist = myEndMiles - myStartMiles; in the calcDist method. Sorry I can't think straight. I have been on this literally all day (:|.
Hmm, well I edited
distance[index] = fillup[index].calcDistance(); to say
distance[index] = fillup[index].getDistance();.
It compiled but my output numbers in the terminal are all F'd up....
I'm gonna come out straight, this is a homework assignment. I almost got it done, but there is one main issue keeping me from compiling and finishing this. I have two classes. One is a tester (main...