Question: Program 1.3 (out of 12 points) Create a program called fuelSavings.py I want to know how much I would save on fuel if I bought

 Program 1.3 (out of 12 points) Create a program called fuelSavings.py

Program 1.3 (out of 12 points) Create a program called fuelSavings.py I want to know how much I would save on fuel if I bought something more fuel efficient, e.g., a hybrid car. I think the numbers I need are miles driven per year, MPG in my current car, MPG of the new car, and the cost of gasoline. Report the fuel cost for each car and the savings (or loss--a negative number) with the new hybrid car. . Here is an example: Please enter the miles you drive per year: 30000 Please enter your current car's MPG: 25 Please enter the MPG of the new car: 40 Please enter the current cost of gas per gallon: 2.75 Fuel cost for your current car is $3300.0 Fuel cost for the new car is $2062.5 Savings (or loss) is $1237.5 >>>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!