Depreciation = (Cost-Residual value) / Useful life [Example, Straight line depreciation] On April 1, 2011, Company A purchased an equipment at the cost of $140,000. This equipment is estimated to have 5 year useful life. At the end of the 5th year, the salvage value (residual value) will be $20,000.
The C++ Code::Blocks environment comes in an easy-to-install, compressed executable file that is compatible with all versions of Windows after Windows 2000. Download the executable codeblocks-13.12.mingw-setup.exe. Save the executable to your desktop or some other place that you can easily find it.
To add line numbers on the left side of your code, click the checkbox in the middle, Display Line Numbers. Clicking the Format Code Block button opens the following popup window. But there is no option to select the Small Basic programming language. See Small Basic: How to Format a Code Block.