VB.net: Depreciation Calculator (6-pp4) – using For Loops

Share it with your friends Like

Thanks! Share it with your friends!

Close

Introduction to Programming Using Visual Basic
Visual Basic Programming Challenge 6-pp4: Depreciation Calculator

For tax purposes an item may be depreciated over a period of several year, n,
With the straight-line method of depreciation, each year the item depreciates by (1/n)th of the 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 a year-by-year description of the depreciation

Learning to code? Follow my VB tutorials for beginners. I do a lot of Visual Basic programming challenges and

Comments

Write a comment

*