Change the solution to Exercise to calculate the estimated cost of a trip given the distance of the trip, the estimated number of miles per gallon, and the average cost of a gallon of gasoline.
Exercise
Describe the data requirements and algorithm for a program that computes the number of miles you can drive a car given the estimated number of miles per gallon and the number of gallons of gas you purchased as input data. Also compute and display the cost of the gasoline based on the cost per gallon (a data item).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.