1. Create a new Class Library Project
2. You have been asked to design classes to represent various people at a School
A Person class will serve as your base classAdd to the person class the fields that you think will be shared through ALL of the people at the school Add properties to access the fields Add constructor to assign value to the fields 3. Two Classes will inherit from Person
StudentAdd to the student class the fields that you think will be shared through ALL of the students at the school Add properties to access the fields Add a field for hoursEnrolled that will store how many credit hours the student is taking Add constructor to assign value to the fields EmployeeAdd to the employee class the fields that you think will be shared through ALL of the employees at the school Add properties to access the fields Add constructor to assign value to the fields 4. Two Classes will inherit from Student
ITStudentIT Student will have a hourlyTuition field set to $100 Add a CalculateTuition() Method that returns hours Enrolled hourlyTuition Add properties to access the fields Add constructor to assign value to the fields NursingStudentNursingStudentwill have a hourlyTuition field set to $150 Add a CalculateTuition() Method that returns hoursEnrolled * hourlyTuition Add a field to track the number of clinical hours the nursing student has worked so far Add properties to access the fields Add constructor to assign value to the fields 5. Two Classes will inherit from Employee
FullTimeEmployeeFull time employees will add a field for annualSalary Add a Method CalculateWeekly Pay() that returns annualSalary / 52; Add properties to access the fields Add constructor to assign value to the fields PartTimeEmployeePart time employees will add a field for hourlyRate Add a Method CalculateWeeklyPay() that returns hourlyRate * 40 Add properties to access the fields Add constructor to assign value to the fields 6. Generate a class diagram in visual studio
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the
frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through
PayPal ,
Buy me a Coffee
or
Cryptocurrency .
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.