After writing the program of Exercise 17.7, write a simple program to create some test data for checking out the program. Use the following sample account data:
Master file
Account number Name Balance
100 Alan Jones 348.17
300 Mary Smith 27.19
500 Sam Sharp 0.00
700 Suzy Green -14.22
Transaction file
Account number Transaction amount
100 27.14
300 62.11
400 100.56
900 82.17
Run the program of Exercise 17.7 using the files of test data created in Exercise 17.8. Print the new master file. Check that the accounts have been updated correctly.
1 answer
You are welcome to ask questions about how to proceed, or post code to help correction of logic or syntax.