Professional Documents
Culture Documents
(while Loop) The Great Armstein Companys Accounting Department needs a program written that calculates depreciation for its assets. They use the straight line method which uses the following formula: Depreciation = (Cost Salvage Value) / Useful Life
The program should allow the user to enter the following information: Asset name (Widget Machine) Cost (14000) Salvage Value (2000) Useful Life (8) Example of Output: Great Armstein Company Accounting Department
Name: Cost: Salvage Value: Useful Life: Depreciation: Widget Machine $14,000.00 $2,000.00 8 $1,500.00