Design a class named productionworker that extends employee

Assignment Help C/C++ Programming
Reference no: EM13945460

Design an Employee class that has fields for the following pieces of information:

* Employee Name
* Employee Number

Also design a class named ProductionWorker that extends the Employee class. The ProductionWorker class should have fields to hold the following information:

* Shift Number (an integer, such as 1, 2, or 3)
* Hourly Pay Rate

The workday is divided into two shifts: day and night. The shift field will hold an integer value representing the shift that the employee works. The day shift is shift 1 and the night shift is shift 2. Design the appropriate accessor and mutator methods for each class.

After having designed the classes, design a program that creates an object of the ProductionWorker class and prompts the user to enter data for each of the object's fields. Store the data in the object and then use the object's accessor methods to retrieve it and display it on the screen. Please provide a Flowchart, and a Pseudocode following the guidelines of good program design, like meaningful variable names and thoroughly commented code.

After having designed the classes, design a program that creates an object of the ProductionWorker class and prompts the user to enter data for each of the object's fields. Store the data in the object and then use the object's accessor methods to retrieve it and display it on the screen. Please provide a Flowchart, and a Pseudocode following the guidelines of good program design, like meaningful variable names and thoroughly commented code.

Reference no: EM13945460

Questions Cloud

Effects of the hurricane on individuals and families : For this week's discussion, complete the following: Discuss how we might think about the effects of the hurricane on individuals and families who have suffered the effects of Katrina
Climate change, terrorism, political economy : PleasPrerequisite: SOC 100 or permission of the instructor) COURSE DESCRIPTION This course is a sociological examination of the status of the less developed countries (LDCs) in economic, political, and social arenas.
Design a modularized body mass index (bmi) program : Make sure to use meaningful variable names and thoroughly comment your code where appropriate.
What racial tensions existed in the early church : What racial tensions existed in the early church? How are they resolved? Is a quota system used here to pacify the Grecian Jews? Is this a form of affirmative action?"
Design a class named productionworker that extends employee : The workday is divided into two shifts: day and night. The shift field will hold an integer value representing the shift that the employee works. The day shift is shift 1 and the night shift is shift 2. Design the appropriate accessor and mutator ..
Illustrate your answer by referring to specific brands : Illustrate your answer by referring to specific brands within each of the two product categories you have chosen.
What principles of statutory interpretations were utilized : What principles of statutory interpretations were utilized by the Court in this case - Explain in plain English the implications of Australian Maritime Officers'
Examples of pseudocode containing control structures : From the above examples of pseudocode containing control structures, analyze the logic implemented in the pseudocode.
Create a flowchart and pseudocode using control breaks : The system should store the current inventory levels for different raw materials in a file.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program to manipulate strings using pointers

Write a program to manipulate strings using pointers. The program will start out by displaying a menu to ask user what to do as shown below

  Implement a string class

Implement a String class. Each object of this class will represent a character string. Data members are the length of the string and the actual character string. In addition to constructors, destructor, access functions, and a print function, incl..

  Annotated bibliography on the value of educational games

How to do a Annotated Bibliography on the value of educational games

  Write c function to sort one dimensional integer array

Consider the values sorted in the array. Sort it in ascending order using Bubble sort technique showing all iterations: write C function to sort one dimensional integer array in ascending order.

  Write a program that prints the day number of the year

Write a program that prints the day number of the year, given the date in the form month-day-year. For example, if the input is 1-1-2006, the day number is 1.

  Computer program the requirements are attached please see

the requirements are attached. please see them. the program should be done in c or c. also i need read me file to tell

  Formulate an linear programming model

1. Formulate an Linear Programming model for this problem 2. Create a spreadsheet model for this problem and solve it using Solver 3. What is the optimal solution?

  Display the average and save the average to the file

Write a program that asks the user to enter five floating-point numbers. The program should create a file and save all five numbers to the file.

  Implement a class timedepositaccount

It is not possible to deposit additional funds into this account. Provide a withdraw method that removes the entire balance. Partial withdrawals are not allowed.

  Write a script that creates a craps game

Write a script that creates a craps game and meets the following requirements. Name the script craps.sh The script will get 2 random numbers between 1-6.

  Define the purpose of a pointer with a example

How does ASP.NET extend the capability of using C++ as a programming language to create dynamic websites? Is C++ the preferred programming language for developing ASP.NET pages?

  Design a calculator program

Design a calculator program that will add, subtract, multiply, or divide two numbers input by a user. Your program design should contain the following: The main menu of your program is to continue to prompt the user for an arithmetic choice until th..

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