Create a program that will compute the mpg of a car. 1. The user must enter the
ID: 3539454 • Letter: C
Question
Create a program that will compute the mpg of a car.1. The user must enter the number of gallons.
2. The user must enter the distance traveled.
3. The program will computer mpg and output mgp to the user.
4. You must use a template for your mpg function.
You must also include a screen shot of the program running. Create a program that will compute the mpg of a car.
1. The user must enter the number of gallons.
2. The user must enter the distance traveled.
3. The program will computer mpg and output mgp to the user.
4. You must use a template for your mpg function.
You must also include a screen shot of the program running.