use visual basic Depreciation to a Salvage Value of 0 . For tax purposes an item may be depreciated over a period of several years, n . With the straight-line method of depreciation , each year the item dpreciates by 1/nth of it original value. with the double-declining-balance method of depreciation, each year the item depreciate by 2/nths 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 a year- by-year description of the depreciation. See Fig. 6.15 .

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

use visual basic Depreciation to a Salvage Value of 0 . For tax purposes an item may be depreciated over a period of several years, n . With the straight-line method of depreciation , each year the item dpreciates by 1/nth of it original value. with the double-declining-balance method of depreciation, each year the item depreciate by 2/nths 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 a year- by-year description of the depreciation. See Fig. 6.15 .

Depreciation to a Salvage Value of 0
Description computer
of item:
Year of
purchase:
Estimated lfe of
5
item (years):
2008
Cost: 1500
Straight-Line Method
Double-Declining-Balance Method
Description: computer
Year of purchase: 2008
Cost: $1,500.00
Estimated ife: 5
Method of depreciation: straight-ine
Value at beginning of 2008: $1.500.00
Amount of depreciation during 2008: $300.00
Total depreciation at end of 2008: $300.00
Value at beginning of 2009: $1.200.00
Amount of depreciation during 2009: $300.00
Total depreciation at end of 2009: S600.00
Value at beginning of 2010: $900.00
Amount of depreciation during 2010: $300.00
Total depreciation at end of 2010: $900.00
FIGURE 6.15 Sample output of Programming Project 7.
Transcribed Image Text:Depreciation to a Salvage Value of 0 Description computer of item: Year of purchase: Estimated lfe of 5 item (years): 2008 Cost: 1500 Straight-Line Method Double-Declining-Balance Method Description: computer Year of purchase: 2008 Cost: $1,500.00 Estimated ife: 5 Method of depreciation: straight-ine Value at beginning of 2008: $1.500.00 Amount of depreciation during 2008: $300.00 Total depreciation at end of 2008: $300.00 Value at beginning of 2009: $1.200.00 Amount of depreciation during 2009: $300.00 Total depreciation at end of 2009: S600.00 Value at beginning of 2010: $900.00 Amount of depreciation during 2010: $300.00 Total depreciation at end of 2010: $900.00 FIGURE 6.15 Sample output of Programming Project 7.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 10 steps with 14 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education