An introduction to Programming Using Visual Basic(10th edition) Author David I.
ID: 3856315 • Letter: A
Question
An introduction to Programming Using Visual Basic(10th edition) Author David I. Scheider
6 Programming Projects Question 4
Depreciation: For tax purposes an item may be depreciated over a period of serval years, n. With the straight-line method of depreciation, each year the item depreciates by (1/n)th of its original value. With the double declining-balance method of 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 performs the following tasks:
a) Request a description of the item, the year of purchase, the cost of the item, the number of years to be depreciated(estimated life), and the method of depreciation. The method of depreciation should be chosen by clicking on one of two buttons.
b) Display the year by year description of the depreciation.
Explanation / Answer
(a) Description: Computer Year of purchase: 2008 Cost: $2,000.00 Estimated life: 5 Method of depreciation: double-declining-balance (b) Value at Amount Deprec Total Depreciation Year Beg of Yr During Year to End of Year 2008 2,000.00 800.00 800.00 2009 1,200.00 480.00 1,280.00 2010 720.00 288.00 1,568.00 2011 432.00 172.80 1,740.80 2012 259.20 259.20 2,000.00
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.