Question: // This is written in C# using visual studio 2015, the book it is basing the figure 11.10 off of is Visual C# How To
// This is written in C# using visual studio 2015, the book it is basing the figure 11.10 off of is Visual C# How To Program, Deitel H.M, Deitel, P.J 6th Edition or if you have the 5th edition it is figure 11.8 or 11.9. PLEASE BASE THIS ANSWER OFF OF THE BOOK'S FIGURE,THE FIGURE HAS A CODE IN IT THAT SHOULD BE USED WHEN CREATING THE REST OF THE PROGRAM,PLEASE USE THAT CODE AND GIVE THE EXACT OUTPUTS IT IS ASKING FOR. //Please show all steps and comment out what was done.
Create a class called Woodmaker that inherits from the CommissionEmployee class in Figure 11.10 In your Woodmaker 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. Woodmaker Earnings is calculated as the skill level base rate + amount charged * commission rate. Skill level base rate is $500 for an 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 Woodmaker 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
