|
|
doolin$ java TestFuelLog Initial mileage: 10000 Readings from the first gas station stop: Mileage: 10500 Gallons: 10 Miles per gallon: 50.0 Readings from the second gas station stop: Mileage: 11000 Gallons: 15 Miles per gallon: 40.0 doolin$ |
![]() | Our FuelLog class can be used by a simple
test program that simply operates with standard input
and output on a terminal interface.
|
|
| Copyright © 2001, 2002 Andreas Borchert, converted to HTML on February 11, 2002 |