Question: Prepare a program flowchart for the following application. This application calculates straight-line depreciation for a file of fixed assets. The fixed-asset file consists of the
Prepare a program flowchart for the following application. This application calculates straight-line depreciation for a file of fixed assets. The fixed-asset file consists of the fol-lowing record types:
a. A header record, which contains the file ID number and a hash total of all the record ID (key) values.
b. A record for each fixed asset. Each record contains the following fields: ID number, a location code, original cost, useful life in months, depreciation taken to date, and salvage value.
The program should read each fixed-asset record, compute the amount of depreciation for the year (12 months), update the necessary fields, and write the updated record. End-of-job processing should print the number of assets processed, print the total depreciation computed, and verify the hash total for this run.
Step by Step Solution
3.37 Rating (178 Votes )
There are 3 Steps involved in it
SET INITIAL VALUES READ A RECORD INCREMENT NUMBER OF ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
412-B-A-I-S (6659).docx
120 KBs Word File
