Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) Design an Employee class. It must have member variables: Employee Name and Employee Number. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

problem 2) Design a ProductionWorker class that is derived from the Employee class. It must have member variables: Shift and Hourly Pay Rate.

The day shift is Shift 1 and the night shift is Shift 2. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

problem 3) Design a ShiftSupervisor class that is derived from the Employee class. A shift supervisor is a salaried employee who supervises a shift. In addition he earns a yearly bonus when his shift meets production goals. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

problem 4) Design a TeamLeader class that extends the ProductionWorker class. A team leader is a production worker who leads a small team. In addition to hourly pay, they earn a fixed monthly bonus. Also they are required to attend a minimum number of hours of training per year. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

problem 5) Design a Salesman class. A salesman is an employee who earns his pay based on the percent of sales. For ex, if he sold $100,000 in merchandise, he earns $5000 based on a 5.0 percent commission rate. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

problem 6) Design a SalesAssociate class. A sales associate is a beginner salesman who earns his pay based on a Base Salary plus a reduced commission rate for all sales over a Base Sales Quota. For ex, suppose a sales associate had a base salary of $2000, a base sales quota of $40,000, and commission rate of 3 percent. If he sold $100,000 in merchandise, he earns $3800. prepare the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods for the class.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M94606

Have any Question? 


Related Questions in C/C++

Write a console-based c program that can be used as a math

Write a console-based C++ program that can be used as a math tutor for a young student. The program should display two random numbers consisting of three digits each to be added in columnar format, such as: 247 +129 ---- ...

Assignmentobjectivespractice reading characters from a

Assignment Objectives Practice reading characters from a file Practice using command line input Practice using command-line redirection of files Practice implementing a double transposition ciphering algorithm Summary In ...

Discussionwhile loops versus for loops please respond to

Discussion "While Loops versus For Loops" Please respond to the following: • Suppose you are writing a C++ program that plays a commercial video continuously within a kiosk at your favorite shopping mall within your home ...

The second portion instruction shown below which is the

The second portion (instruction shown below) which is the actual C++ program is needed by this Saturday. Write a C++ program that is menu-driven that allows for the following menu choices:Load an exam: Loading an exam sh ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while ,do - while , and for loops. Add the following to your program: ...

Bankers algorithmimplement the bankers algorithm for

Banker's Algorithm Implement the Banker's algorithm for deadlock avoidance, that works on a given set of N processes and M resource types (N The input data and result is then displayed on the screen. You may use your pro ...

Computer scienceyou have gathered your information on the

Computer Science You have gathered your information on the AI for the Tic-Tac-Toe game and began to develop your own ways to improve it using C++. Now, it's time to present your findings in a final paper. Remember that y ...

Programming assignment 5write a c program that allows the

PROGRAMMING ASSIGNMENT #5 Write a C program that allows the user to make some banking transactions. The program should first prompt the user to enter the current balance of his/her bank account (in dollars and cents, not ...

Write a c application that does the followingitem 1 prompts

Write a C++ application that does the following: ITEM 1: Prompts the user to choose one of the following series: 1 + 1/2 + 1/3 + ... + 1/n ((((x * 2) * 2) * ...) * 2) series of n multiplications x + (x * 1) + (x * 2) + ( ...

Practice with pointers and dynamic memory

Practice with pointers and dynamic memory allocation Problem: Write a C++ program that will implement and test the four functions described below that use pointers and dynamic memory allocation. The Functions: You will w ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen