Q10-Miles per Gallon

Solution of Question-10 Miles per Gallon of Chapter 2 of Starting out with C++ From Control Structures
through Objects By Tony Gaddis