Write a program in python 3x that calculates and displays


Write a program in python 3.x that calculates and displays the depreciation in value of a given item. Given the following formulas:

straight-line depreciation = each year the item depreciates by (1/n)th of its original value double-declinging depreciation = each year the item depreciates by (2/n)ths of its value at the beginning of that year. In the final year it is depreciated by its value at the beginning of the year.

Write a program that prompts the user to enter the name of the item, the year it was purchased, the cost of the item, the estimated life of the item in years, and the method of depreciation. Then print out the given information and display the value at the beginning of the year, the amount the item depreciated during the year, and the total amount of depreciation up to the current year in a table for each year of the item's estimated lifetime.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write a program in python 3x that calculates and displays
Reference No:- TGS01464130

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)