Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

2. Define identity.

Answered: 1 week ago

Question

1. Identify three communication approaches to identity.

Answered: 1 week ago

Question

4. Describe phases of majority identity development.

Answered: 1 week ago