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++

Q 1 write a c program to declare two integer one float

Q. 1 Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6 to them respectively. It then prints these values on the screen. Q. 2 Write a C++ program to prompt the user to input her/ ...

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Computer programming assignment-q1 using for loop write a c

Computer Programming Assignment- Q1. Using for loop, write a C++ program that prints out the multiples of 3 up through 75, separated by a blank space.  3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 ...

Pa 1 word countertabulating basic document statistics is an

PA #1: Word Counter Tabulating basic document statistics is an interesting exercise that leverages your knowledge of strings, files, loops, and arrays. In this homework, you must write a C++ program that asks the user fo ...

Text exercise 413 gas mileagebulldrivers are concerned with

Text Exercise 4.13 (Gas Mileage) • Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several trips by recording miles driven and gallons used for each trip. Develop a C++ ...

Discussion questionsplease respond to all of the following

Discussion Questions Please respond to all of the following prompts: • What is a friend function and how is it declared? • Which operators cannot be overloaded and why? • What is a macro in C++ programming and what are s ...

Discussion questonsplease respond to all of the following

Discussion Questons Please respond to all of the following prompts: • How are input and output accomplished in C++? • How do cin and cout relate to ostream and istream? Lab Activity 1. Write a C++ program per the require ...

This program involves using stl listsfor this program you

This program involves using STL lists. For this program you will implement three functions whose prototypes are given below: list ::iterator mxIter(list ::iterator first, list ::iterator last); void selectSort(list & aLi ...

Write code to create the generator submit your source code

Write code to create the generator. Submit your source code as well as a description of how I could run the program, sample screenshots of the program in action, and the various changes that could be produced through you ...

Problem 1 you are tasked to write a program that outputs

PROBLEM 1 You are tasked to write a program that outputs the following amplifier system specifications: Voltage amplification: 25 Input voltage: 50 mV Power output: 2.5 W Bandwidth: 15 kHz Type: Class A a. For this progr ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate