Write a program to cross check two lists of employees and pay cheques, to identify if anyone has been missed.
The list of employees is stored in a text file where each line contains the employee’s name and bank account number, the first line of the file contains the number of employees e.g;
3
John Smith, 047652 2937 2735
Fred Jones, 048623 0623 9772
Joan Brown, 042883 9273 9227
The payment file contains a list of ACs and amounts paid into each AC. The first line contains the number of transactions listed in the file.
3
047652 2937 2735, $1290
048623 0623 9772, $1189
042883 9273 9227, $1335
Your program needs to load the contents of the two files and identify how much each employee was paid, and if any employee missed out on their pay cheque.
A small hint for this question: no where does it ask for input from the user. This question entails File IO where you read in input information from the stream in the format of a text file or binary file. In this case you have two text files. If you read the cpp file attached to Lecture 9 slides alongside the other cpp files you may figure out how to do this questions by yourself. Ps. don't forget to add a header file.