Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an Employee class that has properties for the following data: Employee name Employee number Next, create a class named Productionworker that is derived from

Create an Employee class that has properties for the following data:

  • Employee name
  • Employee number

Next, create a class named Productionworker that is derived from the employee class. The Productionworker class should have properties to hold the following data.

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


Create an application that creates an object of the Productionworker class and lets the user enter data for each of the objects properties and display their values.

Step by Step Solution

3.48 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

Employeecs using System using SystemCollectionsGeneric using SystemLinq using SystemText using SystemThreadingTasks namespace act24 class Employee private instance variables private string name privat... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
609390adbf387_23929.pdf

180 KBs PDF File

Word file Icon
609390adbf387_23929.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems analysis and design

Authors: Alan Dennis, Barbara Haley Wixom, Roberta m. Roth

5th edition

978-1118057629, 1118057627, 978-111880817

More Books

Students also viewed these Programming questions

Question

Create a dotplot for the following data set. 2 1 3 1 0 2 1 0 2 2

Answered: 1 week ago

Question

=+b) Is this a prospective or retrospective study? Explain.

Answered: 1 week ago

Question

What are the major roles on a project team?

Answered: 1 week ago