(Solved) : Create C Application Create Class Object Called Employee Included Eight Private Variables Q18026260 . . .

Create a C# application

You are to create a class object called “Employee” whichincluded eight private variables:

firstN

lastN

dNum

wage: holds how much the person makes per hour

weekHrsWkd: holds how many total hours the person worked eachweek.

regHrsAmt: initialize to a fixed amount of 40 usingconstructor.

regPay

otPay

After going over the regular hours, the employee gets 1.5x thewage for each additional hour worked.

Methods:

 constructor

 properties

 CalcPay(): Calculate the regular pay and overtime pay.

Create an “EmployeeDemo” class. In the main function, theprogram should ask the user the number of employee in the companyand create a 2-dimensional dynamic array (number of employee by 4weeks). Then, the program should ask user to enter each employee’sinformation and the amount of hours they worked weekly.

The program shows a menu with employee name for user to choosewhich employee to display the following information:

 How much the person totally made

 How much of paycheck is regular pay

 How much of paycheck is overtime pay

Expert Answer


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections; . . .