The program calculates the rate of fuel consumption, as well as the amount of fuel, the distance a car can travel, using a given amount of fuel and the cost of fuel per trip. The program also calculates the rate, volume and fuel consumption for hours.