Create two classes. The first holds sales transactions. Its private data members include date, amount of sale, and salesperson's ID number. The second class holds salespeople, and its private data members include each salesperson's ID number and name. Each class includes a constructor with which you can set the field values. Create a friend function that is a friend of both classes and displays the date of sale, amount, and salesperson name for each sale. Write a short main() demonstration program to test your classes and friend function.
Please post it in simple .cpp and .h files and not in project files of a specific program (for example Visual Studio Project files).