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

Assignmentoverviewthis assignment consists of implementing

Assignment Overview This assignment consists of implementing an application using the techniques learned in the first half of the course. Examples on how to use file operations, random number generation, the standard tem ...

Assignmentwhen writing c programs include comments in your

Assignment When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output. This assignment will be to write a te ...

Object-oriented programming assignmentintroduction -nbspa

Object-Oriented Programming Assignment Introduction -  "A logical matrix or (0, 1) matrix is a matrix with entries from the Boolean domain B = {0, 1}. Such a matrix can be used to represent a binary relation between a pa ...

Assignmentinstructionsthis assignment is to implement your

Assignment Instructions This assignment is to implement your own mini-grocery store in C++. Suppose you have the following Food hierarchy: FOOD FRUIT APPLE BANANA GRAPE DAIRY MILK YOGURT CHEESE (your choice) (three items ...

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

1 we know that from ece 109 to calculate the

1. We know that from ECE 109, to calculate the equivalent resistance of a network of resistors in series in parallel are given by: Write a C++ program that asks the user to input values for resistors (as many as they wou ...

Programming assignmentwrite a c program that allows the

PROGRAMMING ASSIGNMENT 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). The p ...

1 three employees in a company are up special pay increase

1. Three employees in a company are up special pay increase. You are given a file, with the following data: Miller Andrew 65789.87 5 Green Sheila 75892.56 6 Sethi Amit 74900.50 6.1 Each input line consists of an employee ...

Assignmentpart acomplete the following questionswrite c

Assignment Part A Complete the following questions: Write C++ code to open a document with the name Hello.txt, place the message "Hello, World!" in the document, and exit the document. Re open the file you closed, and re ...

Assignmentwhen writing c programs include comments in your

Assignment When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output. This assignment will be to write a bm ...

  • 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