Solve this problem on c# and give me CS files or give me code An IT company is willing to have their employee information in a console based system, for which they asked to build a simple console based application which will have some basie employee information. The company kas 2 types of Employees: FullTime & PartTime. All the Employees will have id, name, salary and joining date. FullTime employees will have bonus which is 50% of their salary and PartTime will have commission. ShowInfo() method will provide all the information for each type of Employee. There will be a method GrossIncome() for each type of employee which will find the total income. For FullTime it will be calculation of 12 months salary and 2 bonuses per year and for PartTime it will he the summation of only the salary per month and commission. The Main method is already given for you, try to write other classes to make it happen, write appropriate fields, methods. properties etc. Use proper access modifiers, types etc. [Optional: For joining date if you can create custom rype then it will be considered as bonus part. using System; namespace ConsoleAppEmployeeInformation { class Program { static void Main(string[] args) FullTime ft = new FullTime("E-001", "Shuvo", 30000, "12-10-2018", 15000); PartTime pt = new PartTime("E-002", "Sohan", 1200e, "23-08-2021", 1300); ft.ShowInfo(); ft.GrossIncome(); pt. ShowInfo(); pt. GrossIncome ();

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question
Solve this problem on c# and give
me CS files or give me code
An IT company is willing to have their employee information in a console based system, for which they
asked to huild a simple console based application which will have some basic employee information. The
company has 2 types of Employees: FullTime & PartTime. All the Employees will have id, name, salary
and joining date. FullTime employees will have bonus which is 50% of their salary and PartTime will
have commission. ShowInfo() method will provide all the information for each type of Employee. There
will be a method GrossIncome() for each type of employee which will find the total income. For FullTime
it will be calculation of 12 months salary and 2 bonuses per year and for PartTime it will he the
summation of only the salary per month and commission.
The Main method is already given for you, try to write other classes to muke it huppen, write uppropriute
fields, methods. properties etc. Use proper access modifiers, types etc. [Optional: For joining date if you
can create custon type then it will be considered as bonus part./
using System;
namespace ConsoleAppEmployeeInformation
{
class Program
{
static void Main(string[] args)
{
FullTime ft = new FullTime("E-001", "Shuvo", 30000, "12-10-2018", 15000);
PartTime pt = new PartTime("E-002", "Sohan", 12000, "23-08-2021", 1300);
ft.ShowInfo();
ft. GrossIncome ();
pt.ShowInfo();
pt.GrossIncome ();
Transcribed Image Text:Solve this problem on c# and give me CS files or give me code An IT company is willing to have their employee information in a console based system, for which they asked to huild a simple console based application which will have some basic employee information. The company has 2 types of Employees: FullTime & PartTime. All the Employees will have id, name, salary and joining date. FullTime employees will have bonus which is 50% of their salary and PartTime will have commission. ShowInfo() method will provide all the information for each type of Employee. There will be a method GrossIncome() for each type of employee which will find the total income. For FullTime it will be calculation of 12 months salary and 2 bonuses per year and for PartTime it will he the summation of only the salary per month and commission. The Main method is already given for you, try to write other classes to muke it huppen, write uppropriute fields, methods. properties etc. Use proper access modifiers, types etc. [Optional: For joining date if you can create custon type then it will be considered as bonus part./ using System; namespace ConsoleAppEmployeeInformation { class Program { static void Main(string[] args) { FullTime ft = new FullTime("E-001", "Shuvo", 30000, "12-10-2018", 15000); PartTime pt = new PartTime("E-002", "Sohan", 12000, "23-08-2021", 1300); ft.ShowInfo(); ft. GrossIncome (); pt.ShowInfo(); pt.GrossIncome ();
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Software products
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT