Payroll class assignment:Class design:Design a PayRoll class that has data members for an employee’s first and last name, hourly pay rate, number of hours worked. The default constructor will set the first and last name to empty string, and hours worked and pay rate to zero. The class must have mutator functions to set each of the data members of the class and accessors to access them. The class should also have the following member functions:displayPayroll function that displays all data members of the a PayRoll instance on one line separated by blanksreadPayRoll function that reads data members of a PayRoll instance from an input stream associated with a text file (assume all data members are on one line separated by commas) getGross function that will return a double calculated by multiplying the hours worked by the pay rate.Driver program: Write a program with an array of seven PayRoll objects The program should read the name (first and last), pay rate and the number of hours for each employee and display each employee information followed by the employee’s gross pay, all on one line separated by blanks. Set the precision for printing the doubles to two decimal places.Input Validation:Do not accept values greater than 60 for the number of hours worked, simply have the set function set number of hours worked to 60, the maximum allowed.Do not accept negative values for pay rate and hours worked (set them to 0)Be sure to include an employee claiming to work more than 60 hours per week, negative pay rate, and negative hours worked.Deliverables: Submit a zip file of the project folder including a sample input file. grades focus on:Class design: 60%class specification, class definition, input validationDriver program: 30 %Documentation & programming style 10%make a brief description of program and each function, include any problem specifications not metProg. Style:indentation, self-documenting identifiers, etcNo palegraisim
Essay Writing Service Features
Our Experience
No matter how complex your assignment is, we can find the right professional for your specific task. Contact Essay is an essay writing company that hires only the smartest minds to help you with your projects. Our expertise allows us to provide students with high-quality academic writing, editing & proofreading services.Free Features
Free revision policy
$10Free bibliography & reference
$8Free title page
$8Free formatting
$8How Our Essay Writing Service Works
First, you will need to complete an order form. It's not difficult but, in case there is anything you find not to be clear, you may always call us so that we can guide you through it. On the order form, you will need to include some basic information concerning your order: subject, topic, number of pages, etc. We also encourage our clients to upload any relevant information or sources that will help.
Complete the order formOnce we have all the information and instructions that we need, we select the most suitable writer for your assignment. While everything seems to be clear, the writer, who has complete knowledge of the subject, may need clarification from you. It is at that point that you would receive a call or email from us.
Writer’s assignmentAs soon as the writer has finished, it will be delivered both to the website and to your email address so that you will not miss it. If your deadline is close at hand, we will place a call to you to make sure that you receive the paper on time.
Completing the order and download