The Financial icer at RGl wants you to develop an application thất will evaluate the company's asset's annual depreciation using the double-declining balance and sum-of-the years' digit method. The Financial officer will enter the asset's cost, useful life (in years), and salvage value (which is the value of the asset at the end of its useful life). The sample of the application can be seen in Figure 2. The interface provides text boxes for entering the asset cost and salvage value. It also provides a list box for selecting the useful life, which ranges from 3 to 20 years. The depreciation amounts are displayed in the list boxes. (You can use the DDB and SYD functions in Microsoft Excel to verify the amounts shown in Figure 2 are correct). Create a windows form application using the name RGI annual asset depreciation App. You can use the visual basic's Financial.DDB method to calculate the double-declining balance depreciation and use its Financial.SYD method to calculate the sum-of-the-years' digit depreciation. The Financial.DDB method syntax is Financial.DDB (cost, salvage, life, period). The Financial.SYD method syntax is Financial.SYD (cost, salvage, life, period). In both syntaxes, the cost, salvage and life arguments are the asset's cost, salvage value and useful life respectively. The period argument is the period for which you want the depreciation amount calculated. Both methods return the depreciation amount as double number. Code the application, save the solution and run the application RGIT annual asset depreciation App X Asset cost: 5000 Depreciation schedules Salvage value: 100 Double-declining balances: Sum-of-the-year's digits: Depreciation 1,633.33 1,306.6 980.00 653.33 326.67 Year Depreciation 2,000.00 1,200.00 720.00 432.00 259.20 Year 1 Useful life: 5 4 Display depreciation schedules Exit Figure 2: Interface for RGI annual asset depreciation App
The Financial icer at RGl wants you to develop an application thất will evaluate the company's asset's annual depreciation using the double-declining balance and sum-of-the years' digit method. The Financial officer will enter the asset's cost, useful life (in years), and salvage value (which is the value of the asset at the end of its useful life). The sample of the application can be seen in Figure 2. The interface provides text boxes for entering the asset cost and salvage value. It also provides a list box for selecting the useful life, which ranges from 3 to 20 years. The depreciation amounts are displayed in the list boxes. (You can use the DDB and SYD functions in Microsoft Excel to verify the amounts shown in Figure 2 are correct). Create a windows form application using the name RGI annual asset depreciation App. You can use the visual basic's Financial.DDB method to calculate the double-declining balance depreciation and use its Financial.SYD method to calculate the sum-of-the-years' digit depreciation. The Financial.DDB method syntax is Financial.DDB (cost, salvage, life, period). The Financial.SYD method syntax is Financial.SYD (cost, salvage, life, period). In both syntaxes, the cost, salvage and life arguments are the asset's cost, salvage value and useful life respectively. The period argument is the period for which you want the depreciation amount calculated. Both methods return the depreciation amount as double number. Code the application, save the solution and run the application RGIT annual asset depreciation App X Asset cost: 5000 Depreciation schedules Salvage value: 100 Double-declining balances: Sum-of-the-year's digits: Depreciation 1,633.33 1,306.6 980.00 653.33 326.67 Year Depreciation 2,000.00 1,200.00 720.00 432.00 259.20 Year 1 Useful life: 5 4 Display depreciation schedules Exit Figure 2: Interface for RGI annual asset depreciation App
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter10: Classes And Objects
Section: Chapter Questions
Problem 2MQ2
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
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.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning