Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedhaving 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 expected

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

Step: 3

blur-text-image

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

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

Students also viewed these Databases questions

Question

Developing and delivering learning that is integrated with the job.

Answered: 1 week ago