Write a program that uses the class salariedemployee

Assignment Help Computer Engineering
Reference no: EM131952192

Problem

Write a program that uses the class SalariedEmployee given in Display 14.4. Your program is to define a derived class called Administrator, which is to be derived from the class SalariedEmployee. You are allowed to change private in the base class to protected. You are to supply the following additional data and function members:

- A member variable of type string that contains the administrator's title, (such as Director or Vice President).

- A member variable of type string that contains the company area of responsibility (such as Production, Accounting, or Personnel).

- A member variable of type string that contains the name of this administrator's immediate supervisor.

- A protected member variable of type double that holds the administrator's annual salary. It is possible for you to use the existing salary member if you did the change recommended above.

- A member function called set Supervisor, which changes the supervisor name.

- A member function for reading in an administrator's data from the keyboard.

- A member function called print, which outputs the object's data to the screen.

- Finally, an overloading of the member function printCheck( ) with appropriate notations on the check.

Reference no: EM131952192

Questions Cloud

Find some other case of insider trading : Alternatively, find some other case of insider trading (a web search will turn up many current cases) and think how you could defend (or prosecute)
What benefits might a global alliance bring : Read Jakada's (2014) article on building global strategic alliances. What steps should the exporter take to ensure success when forming an alliance?
Write a driver program to test all your methods : Give the definition of a class named Doctor whose objects are records for a clinic's doctors. Write a driver program to test all your methods.
Discuss the historical perspective of the time : Analyze the social, economic, and political environments for the times the policy was discussed or implemented.
Write a program that uses the class salariedemployee : Write a program that uses the class SalariedEmployee given in Display 14.4. Your program is to define a derived class called Administrator.
What is the hardened border paradox : Is it cost effective to spend millions of dollars in an effort to stop a hand-full of people" who are bound to terrorize the United States?
Viewpoint of the firm and the bondholders : What are the advantages and disadvantages of each procedure from the viewpoint of the firm and the bondholders?
Discuss the impacts of the hydrologic cycle : Discuss the impacts of the hydrologic cycle in your national park. Add a river or river bed in your Google Earth tour of your park.
Summarize the various components of your proposal : Summarize the various components of your proposal in a paper. You should use APA format for your paper.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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