Tuesday, October 2, 2007

my car has over 100 mpg! (so does my typing)

What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?

While making the car MMPG prgram i had problems with understanding what it wanted. One of my major problems was that the resetMPG was a double and i did not understand how i could return myGallonsUsed, and reset it to 0 in the same method (without just returning the 0). I overcame this problem by making the method a void, instead of a double. That isnt how it is listed in the assignment, but it works and i have happy!

No comments: