Question: Need help with writing a python program that calculates the user's gasoline cost for the month. In the main() procedure your program should prompt the
Need help with writing a python program that calculates the user's gasoline cost for the month. In the main() procedure your program should prompt the user the following:
- Miles driven per month - Miles per gallon for their car - Price per gallon of gas
I need to pass these three values to a procedure that will calculate and display the total gasoline cost for the month. I need to use a procedure to calculate and display the total cost.
Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
