Visit www.myprogramminglab.com to complete select exercises online and get instant feedback.
Exercise
An automobile is used for commuting purposes. Write a program that takes as input the distance of the commute in miles, the automobile’s fuel consumption rate in miles per gallon, and the price of a gallon of gas. The program should then output the cost of the commute.
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.