Westonci.ca connects you with experts who provide insightful answers to your questions. Join us today and start learning! Experience the convenience of finding accurate answers to your questions from knowledgeable professionals on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

b) Miles-per-Gallon
A car's miles-per-gallon (MPG) can be calculated with the following formula:
Write a program that asks the user for the number of miles driven and the gallons of gas used.
It should calculate the car's MPG and display the result