We're Open
+44 7340 9595 39
+44 20 3239 6980

CREATE DATA ATTRIBUTES TO COMMON PERSONS

  100% Pass and No Plagiarism Guaranteed

CREATE DATA ATTRIBUTES TO COMMON PERSONS

A student is a person, and so is an employee. Create the data attributes common to all persons (name, social security number, age, gender, address, and telephone number) and appropriate member function definitions. A student has a GPA, major, and year of graduation. An employee has a department, job title, and year of hire. In addition, there are hourly employees (hourly rate, hours worked, and union dues) and salaried employees (annual salary). Define a class hierarchy and write an application that you can use to first store the data for a group of people then display that information in a meaningful way. You must be able to add and remove persons from the group, and persons may be from any of the various classificatoins of persons. You should be able to find persons by name, etc.

You MUST use an STL container (list would be a good choice) to store your people.

You need to create at least 5 classes -- Person, Student, Employee, Hourly Employee, and Salaried Employee. Your Employee class must contain this public member:

virtual double get Annual  Wages() = 0; // a pure virtual function.

Both HourlyEmployee and Salaried Employee MUST implement this function... This is very useful as the compuations for the annual wages for a hourly and a salaried employee are different though in themselves not very complicated, and through C++ inheritence we`re letting the language do a lot of the work for us :)

BONUS OPPORTUNITY - 20 POINTS
Use a separate class to store your set of persons. Have your application program call methods of this container class to perform the application functionality.

BONUS OPPORTUNITY - 20 POINTS
Use multiple-inheritence to create the Student Employee class (you may assume that all student Employees are HourlyEmployees). Extend your application so that this class of person may be stored in the group.


100% Plagiarism Free & Custom Written,
Tailored to your instructions


International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

UK Registered Company # 11483120


100% Pass Guarantee

STILL NOT CONVINCED?

View our samples written by our professional writers to let you comprehend how your work is going to look like. We have categorised this into 3 categories with a few different subject domains

View Our Samples

We offer a £ 2999

If your assignment is plagiarised, we will give you £ 2999 in compensation

Recent Updates

Details

  • Title: CREATE DATA ATTRIBUTES TO COMMON PERSONS
  • Price: £ 109
  • Post Date: 2018-11-08T12:03:49+00:00
  • Category: Assignment
  • No Plagiarism Guarantee
  • 100% Custom Written

Customer Reviews

CREATE DATA ATTRIBUTES TO COMMON PERSONS CREATE DATA ATTRIBUTES TO COMMON PERSONS
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

Oh my god! This writing company has saved me from so many bothering and figured out my problem in the best way possible. I am not fond of reading and when this book review was given to me as part of my coursework, I went into depression. But I must say, my writer came up with an amazing book review covering all the major aspects of the book nicely. I am waiting for other assignments to come so that I would come here again. The place is good and quite reasonable as well which makes it easy for me to manage my budget.
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

My writer did a small error in my work but it was fixed by him shortly. The work is admirable and I have submitted it. Now hoping for the best results. I would inform you soon.