Question: In C# - Create a class called CabinetMaker that inherits from the CommissionEmployee class in Figure 11.10 In your CabinetMaker class, Earnings() should calculate the
In C# -
Create a class called CabinetMaker that inherits from the CommissionEmployee class in Figure 11.10 In your CabinetMaker class, Earnings() should calculate the fee earned for a carpentry job. Gross sales represents the amount charged to a customer and commission rate represents the % that a particular carpenter earns. CabinetMaker Earnings is calculated as the skill level base rate + amount charged * commission rate. Skill level base rate is $500 for a experienced carpenter and $250 for an apprentice.
Your class should contain a constructor that inherits from the CommissionEmployee class and initializes the instance variables. The CabinetMaker class should add an instance variable for the name of the customer where the carpentry service occurred. Also add an instance variable to represent skill level. Create a property for them also.
Create a second class that prompts the user for the information for two carpenters, creates the 2 two carpenters objects, then displays each two carpenters. One carpenter should be experienced and one should be an apprentice.
Post pictures of code running.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
