Answered step by step
Verified Expert Solution
Question
1 Approved Answer
having trouble with this and continue to get errors and must be used for visual studio. keep on getting program does not contain a static
having trouble with this and continue to get errors and must be used for visual studio. keep on getting "program does not contain a static 'Main' method suitable for an entry point (CS5001) error message when running the program".
Chapter 6: C# Inheritance and Agile Metrics 163 Programming Challenge 6.1 The Tiny Company has two types of employees: full time and part time. Both types have an employee ID and employee name. Full time employees have a salary, and part time employees have an hourly wage and hours worked. A full time employee gets paid weekly by dividing the salary by 52 while a part time employee gets paid by the product of hourly wage and hours worked. Specifically , you will create an Employee class with the common elements (employee ID, employee ToString0 method). Then create a Fulltime employee class with salary field and the GetWeeklyPaid method. Similarly, create a Parttime employee class with hourly wage and hours worked fields and the GetWeeklyPaid method. Add appropriate properties, constructors, and ToString() methods. Each class should be in its own cs file. name, Finally, demonstrate the classes in the Main() method of the Program class with data made up for two full time employees and two part time employees in a List. Display the employee's payment data in a foreach loop. Programming Challenge 6.3 Make a copy of Program Challenge 6.1 project folder. Open the new Programming Challenge 6.1 in Visual Studio. With Employee class in code view, add GetWeeklyPaid abstract method to the class. Make all necessary changes so that the program can still run as expectedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started