Design an employee class that has fields for name

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

Employee Production Worker Program 

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

  • Employee Name
  • Employee Number

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

Once you have 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.

You are to submit the following for the assignment:

1. RAPTOR file with the flowchart of  your working program.  Make sure you run it to make sure it is error free and does what it is supposed to do.

2. Use the generate dropdown to create example C++ code based on your working logical flow chart. Also attached the code in a Microsoft Word file or a text file.

Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed.

Reference no: EM13807319

Questions Cloud

Decided to speculate that the price of crude oil will rise : You have decided to speculate that the price of crude oil will rise. You have entered into a position of 4 contacts of Light Sweet Crude Oil (1,000 barrels per contract, trades in dollars and cents per contract) at a price of $58.25. The initial marg..
Recent history of mexico : Recent history of Mexico
Business-level-corporate-level and international strategies : Business-level, Corporate-level, and International Strategies. Using an Online Library or the Internet, research about the following:
Design an employee class that has fields for name : Design an Employee class that has fields for the following pieces of information: Employee Name and Employee Number
What is net gain or loss after accounting for premium paid : A call option on an S&P 500 futures contract has an exercise price of 1490; the call premium is currently $6.50. On the same date, a put option on the S&P 500 futures contract has an exercise price of 1490; the put premium is currently $7.50. The two..
Evaluate the effectiveness of the current marketing mix : Evaluate the effectiveness of the current marketing mix for the brand you selected for your Final Project. Does the marketing mix meet goals of forming consumer brand relationships?
Five elements of a contract : Describe and analyze the five elements of a contract that must exist for this agreement to be enforceable.
About brazil : BRAZIL

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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