Design a class named timeoff

Assignment Help Programming Languages
Reference no: EM131476583

Question: Design a class named TimeOff. The purpose of the class is to track an employee's sick leave, vacation, and unpaid time off. It should have, as members, the following instances of the NumDays class described in Programming Challenge 4:

maxSickDays A NumDays object that records the maximum number of days of sick leave the employee may take.

sickTaken A NumDays object that records the number of days of sick leave the employee has already taken.

maxVacation A NumDays object that records the maximum number of days of paid vacation the employee may take.

vacTaken A NumDays object that records the number of days of paid vacation the employee has already taken.

maxUnpaid A NumDays object that records the maximum number of days of unpaid vacation the employee may take.

unpaidTaken A NumDays object that records the number of days of unpaid leave the employee has taken.

Additionally, the class should have members for holding the employee's name and identification number. It should have an appropriate constructor and member functions for storing and retrieving data in any of the member objects.

Reference no: EM131476583

Questions Cloud

Recruitment and retention strategy : For this Discussion, think about the recruitment and retention strategy that you will need to develop for your simulation company.
Design a harmonic filter to alleviate the rotor overheating : Power Quality Spring 2017 Design Project. Design a harmonic filter to alleviate the rotor overheating and correct the power factor
Why are coding guidelines used : Why are coding guidelines used? Where are they found in each code book? When are the guidelines used?
Process impact the outcome of the event : How did having or not having a process impact the outcome of the event?
Design a class named timeoff : Design a class named TimeOff. The purpose of the class is to track an employee's sick leave, vacation, and unpaid time off. It should have, as members.
Why is this business successful : Please do a field trip to your favorite business (preferably a store) and report in 2 pages the following:
Explains the total compensation-reward system : Does the system support the strategic goals and objectives, what are the limitations, disadvantages, and advantages?
If the mission and vision is appropriate : Please do a field trip to your favorite business (preferably a store) and report in 2 pages the following:
What is empmult program : Here is only one kind of manager in the EMPMULTprogram in this chapter. Any seriouscompany has executives as well as managers. From themanagerclass derive.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd