Drivers are concerned with the gasoline consumption by their automobiles. One driver has kept track of several full tanks of gasoline by recording kilometers driven and number of litters used for each full tank. Develop a program that will input the kilometers driven and number of litters of gasoline used for each full tank. After processing all input information, the program should calculate and print the combined average gasoline consumption for the vehicle. The user should enter y as long as he wants to continue the input.
(its c++.)


LinkBack URL
About LinkBacks


