Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

program in python. thanks i will leave a like 2) Ownership Cost.py (20) A more holistic way of looking at what a product actually costs

image text in transcribed
image text in transcribedprogram in python. thanks i will leave a like
2) Ownership Cost.py (20) A more holistic way of looking at what a product actually costs to you is to see what the total cost of ownership would be. Total cost of ownership of an asset is its purchase price plus its costs of operation (Investopedia). When you have to decide among multiple things, a vehicle for example, you look into not just the immediate cost (price of the car), but also the long-term cost (the cost to operate the vehicle). The asset with lower total cost of ownership is typically the one with better value. Write a program called Ownership Cost.py that helps a person decide whether to a hybrid car. Your program's inputs are: The cost of a new car The estimated miles driven per year The estimated gas price The efficiency in miles per gallon The estimated resale value after five years Compute the total cost of owning the car for five years. For simplicity, do not take cost of financing into account. Obtain realistic prices for new and used hybrid cars from the Internet Additional Information a) Use input function to receive user input b) Display formatted output Expected output Enter the cost of the car: 40000 How many miles will you drive each year? 15000 Enter the price of gas per gallon: 4 Enter the fuel efficiency in mpg: 50 How much can you sell the car for after 5 years? 18000 The total cost of ownership is 28000.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions

Question

=+j Explain the relationship between unions and MNEs.

Answered: 1 week ago