Use the top-down modular approach and pseudocode to design a suitable program.
a. The last National Bank has two branches, each of which uses a sequential file containing a summary of customer's checking accounts in the following form:
AccountName (Integer), CustomerName (String), Balance (Float)
The files, whcih are called account1 and account2, are ordered by account number in increasing order. (Assume that no two account numbers are the same.) Due to financial reverses, one of the branches must be closed, and the two files need to be merged into a single one called account3. Write a program to perform this operation.
b. Suppose that some of the records in account1 and account2 are the same. Modify the appropriate module of the program so that only one of the duplicate account records is written to the file account3.
1
Expert's answer
2012-03-30T07:50:45-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment