Create control structures, methods with the appropriate parameters, and data
structures of the appropriate type, and implement algorithms to solve problems.
Design a class named Contractor. The class should keep the following information:
• Contractor name
• Contractor number
• Contractor start date
Write one or more constructors, and the appropriate accessor and mutator functions for
Write another class named Subcontractor that is derived from the Contractor class. The
Subcontractor class should have member variables to hold the following information:
• Shift (an integer)
• Horly pay rate (a double)
The work is divided between two shifts, a day shift and a night shift. The shift variable
will hold an integer value representing the shift that the subcontractor will work. The
day shift is 1 and the night shift is 2. Write one or more constructors and the
appropriate accessor functions for the class. Demonstrate the classes by writing a
program that uses a subcontractor object and allows the user to create as many
instances of the subcontractor as needed. Create a method that returns a float and
computes pay with a 3% shift differential applied for night shift employees.
Hello there, lots of experience teaching algorithms and data structures at uni level with multiple programming languages (including C#). Let me know if you're interested. Cheers!
15 pekerja bebas membida secara purata $31 untuk pekerjaan ini
hi, i think i am fit ur project. coz i have been experienced many years with c/c++ language and ur request is no problem for me. if u agree with me, let us discuss more about ur project. thanks reguards.
Hello It's an easier example of heritage and OOP. I can help you with it. I just need that you aclare if the resultant program it's a console program or a program with UI.