Welcome to Westonci.ca, your one-stop destination for finding answers to all your questions. Join our expert community now! Our Q&A platform offers a seamless experience for finding reliable answers from experts in various disciplines. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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