Question: Write C programs to do the following: 1. The constant percentage method of computing depreciation of an asset is based on the assumption that the

Write C programs to do the following: 1. The constant percentage method of computing depreciation of an asset is based on the assumption that the depreciation charge at the end of each year is a fixed percentage of the book value of the asset at the beginning of the year. This assumption leads to the following relationship: S = C(1-d)n, where Coriginal cost of asset, d-depreciation rate per year, n-number of years, S-book value at the end of n years Write a program to compute the number of years of useful life of an asset given the original cost, depreciation rate, and book value at the end of its useful life (called scrap value). [Approach: Read the original cost (C), depreciation rate (d), book value at the end of useful life of an asset (S). Then, calculate the useful life of the asset (n)]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
