You just started a new position as a developer at XYZ Inc. You have asked to work on the development of an application that will allow employees to monitor their 401Ks performance.

Your boss provides you with a file data.txt containing dummy to test your application. The data file has the following information: [Employee Id] [First Name] [Last Name] [Stock ID] [Purchased Date] [Shares Bought] [Share Price] [Market Price].

[Employee Id] // The employee’s Id
[First Name] //Employee’s first name
[Last Name] //Employee’s last name
[Stock ID] // Stock symbol
[Purchased Date] // Date purchased. Space separated [MM] [DD] [YYYY]
[Shares Bought] // how many shares were bought
[Share Price] // how much as paid for each share
[Market Price] // price per share as of the last time you checked.

Create a class called Employee, then create two more classes that inherit from Employee, ExecutiveEmployee and RegularEmployee. The difference between the two for testing purposes is that ExecutiveEmployees are the only ones with 401K. The regular employees have a pension plan through their Teamster Local Union. Since the company has to manage the Executives retirement plan we will focus on them. However, you still need to create all classes for future development.

You will need to create another class called Stock which will allow you to store/manipulate the corresponding information read from the data file.

Write an application that process the provided data and create a report like the one found in Report.txt

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.