Question
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Document Format ( 2 attachments)
609390adbf387_23929.pdf
180 KBs PDF File
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