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

Assignmentthis is the programthis program will use 2

Assignment This is the program: This program will use 2 different data structures to perform the same tasks; a vector and a dynamically sized array Write a complete C++ program that will: Declare a vector of integers wit ...

Computer applications divisionassignment c programmingstl

COMPUTER APPLICATIONS DIVISION Assignment: C++ PROGRAMMING STL Vector For this assignment, you will be starting with an example program that demonstrates the use of a STL vector. In addition to this, you may need to look ...

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

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

Projectdecision statementsdirections read carefully and

Project: Decision Statements Directions (Read CAREFULLY and follow COMPLETELY): - Create the following programs in C++ that perform the purpose described and show the sample output (with user input where applicable). - I ...

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

C-programmingcreate a c program that sorts a sequence of

C-Programming Create a C program that sorts a sequence of positive numbers using the bubble sort algorithm in an increasing or decreasing order based on the user's choice. The pseudo code for the bubble sort algorithm is ...

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

Write a c program that prompts the user to enter a line of

Write a C program that prompts the user to enter a line of text (up to 50 characters). It should then convert the text entered to uppercase letters and then to lowercase letters, and then to Sentence case. Your program s ...

Cs 2410workshop make-up assignmentwrite a c program that

CS 2410 Workshop Make-Up Assignment Write a C++ program that will output to a file called output.txt EVERY 10 digit phone number from 713-000-0000 through 713-000-0998. These numbers MUST only contain an odd number of ev ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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