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

  The difference between subnetting and supernetting

give the importance of subnetting with respect to collisions, broadcasts and controlling traffic. Discuss the difference between subnetting and supernetting.

  Describe the evolution and functions of computer hardware

IT DISCUSSIONS- Describe the evolution and functions of computer hardware, computer architecture, and system and application software.

  What is best type of medium for open-ended bandwidth needs

Explain what kind of connections would work in the elevator shaft. What's the best type of medium for open-ended bandwidth needs? Explain your answer.

  Create a web page tags.aspx for viewing tags

Create a web page Tags.aspx for viewing tags. Use a GridView control to provide access to the list of tags in the database. Put checkboxes beside each tag.

  Describe four advanced boot options

When a driver is verified, a unique digital signature is incorporated into it in a process called and File System can be used to encrypt individual files on a file system.

  Define rayleigh fading channel

Show that the (Ny, NR) = (2, 2) MIMO system that employs the Alamouti code in a Rayleigh fading channel achieves fourth-order diversity.

  Identify at least three current software packages

Identify at least three current software packages, such as programming or application development tools, OSs, or DBMSs, distributed under the GPL s terms.

  Hhf employees to recognize and avoid malware treats

give screenshots and an explanation of your results when you download, install, and run a security program such as Spybot - S&D.

  What is the key domain if an additive cipher is used

What is the key domain if an additive cipher is used? What is the key domain if a multiplicative cipher is used? What is key domain if an affine cipher is used?

  Design a combinational logic circuit

Design a combinational logic circuit that displays the hexadecimal value of a gray code input according to the specifications.

  Describe authentication and authorization

What is a monitor? List types of monitors and the information they provide. Describe authentication and authorization. Which depends on the other?

  Discuss with the class any of the processes used

Discuss with the class any of the processes used to find system configuration information, fix a network connection, or to configure remote services.

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