Hello Use visual studio 2010 Write code to let me copy it

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Hello Use visual studio 2010 Write code to let me copy it
7. 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
depreciates by 1/nth of its original value. With the double-declining-balance method of depre-
ciation, each year the item depreciates 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 num-
ber 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
of item:
Year of
purchase:
Estimated ife of
item (years):
computer
2008
Cost: 1500
Straight-Line Method
Double-Declining-Balance Method
Description: computer
Year of purchase: 2008
Cost: $1,500.00
Estimated life: 5
Method of depreciation: straight-line
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: $600.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:7. 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 depreciates by 1/nth of its original value. With the double-declining-balance method of depre- ciation, each year the item depreciates 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 num- ber 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 of item: Year of purchase: Estimated ife of item (years): computer 2008 Cost: 1500 Straight-Line Method Double-Declining-Balance Method Description: computer Year of purchase: 2008 Cost: $1,500.00 Estimated life: 5 Method of depreciation: straight-line 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: $600.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
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY