Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++ Define a class Employee with the following attributes: firstName (string), lastName (string), socialSecurityNumber (string), grossSales (double), commissionRate (double), and birthDate of Date class.

In C++ image text in transcribed
Define a class Employee with the following attributes: firstName (string), lastName (string), socialSecurityNumber (string), grossSales (double), commissionRate (double), and birthDate of Date class. Assume that payroll is processed once per month. Create a ArrayList of Employees to various employee objects. In the loop, calculate the paid roll for each Employee. Add $100.00 to the person's payroll if the current month is the month in which the Employee's birthday occurs. Validate the social security format is valid ( \#\#\#\#, where \# is a digit) and should be unique in the array. 2. (10 pts) Implement overloaded constructors functions. Default constructors, with arguments, copy constructors, destructor, mutators, accessors, and member functions in your code. 3. (10 pts). Overload operators in your class. 4. Implement an Options Menu in the main program with the following operations: a. (10 pts.) Add an Employee. b. (5 pts.) Remove an Employee. c. (5 pts.) Activate the payroll system by month. d. Quit the program. 5. The solution must contain: a. Source Code. b. (5 pts.) Output program. c. (5 pts.) Separated Class Specification from implementation. d. (10 pts.)Table description. e. (5 pts.) UML diagram

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions

Question

3. What are the current trends in computer hardware platforms?

Answered: 1 week ago