Make a class employee

Assignment Help C/C++ Programming
Reference no: EM13165310

Make a class EMPLOYEE with a name and salary. Make a class MANAGER inherit from EMPLOYEE. Add an instance field, named DEPARTMENT, of type STRING. Supply a method toSTRING that prints the manager's name, department, and salary. Make a class EXECUTIVE inherit from MANAGER. Supply appropriate toSTRING methods for all classes. Supply a test program that tests these classes and methods.

Verified Expert

In the assignment it was required to declare three classes. The declaration of the classes and their definitions can be found in the employee.cpp file. It was also asked to make a test for the classes, which can be found in employeetst.cpp. The source codes compile and work, they can be compiled using the makefile I supplied, or by doing a separated compilation, please take note that the test file requires the definitions of the classes.

Reference no: EM13165310

Questions Cloud

Prompt the user for and read 6 numbers : Write a program using an array that will store input data. Prompt the user for and read 6 numbers between 70 and 90. Verify the numbers should be greater than 70 and less than 90. If the number is less than or equal to 70 or greater than 90, repro..
Using one- and two-dimensional arrays with functions. : Objective using one- and two-dimensional arrays with functions.
Divide the network whose cidr address : Divide the network whose CIDR address is 165.221.204.0/25 into three subnets, with one subnet having half the addresses and the other two subnets having a quarter of the addresses each. Give the CIDR address of each subnet. How many addresses are ..
Probably not get the job : Was Benko’s remark that the plaintiff would “probably not get the job” when the plaintiff revealed her age sufficient evidence for a jury to find that the defendant stated reasons served as a pretext to hide discriminatory practice?
Make a class employee : Make a class EMPLOYEE with a name and salary. Make a class MANAGER inherit from EMPLOYEE. Add an instance field, named DEPARTMENT
Get to know your member : Follow the instructions in the text closely and use the Web sites provided to search for committee jurisdiction and to find your representative.
Optional functionality: allow the user to print the report : A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock
Creation of a base geometric class : The lab will require the creation of a base geometric class, called Shape, and two sub classes, Circle and Rectangle, that are derived public from the class Shape.
Drafting and adoption of a code of ethics : Drafting and adoption of a code of ethics is one approach of making staff and volunteers aware of various ethical issues and hopefully avoid lapses in ethics. What is a code of ethics, and how can such a document help a nonprofit organization?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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