Question: You are asked to design and implement a C# program to keep track of a company's financial statements. Company pays its employees on a weekly

You are asked to design and implement a C# program to keep track of a company's financial statements. Company pays its employees on a weekly basis. Each employee has a social security number, first name, last name, birth date, mobile phone number, address information and has a capability to calculate weekly salary of oneself. In the company, there are are four types of employees which are salaried employees, hourly employees, commission employees and base-salaried commission employees. Salaried employ- ees are paid a fixed weekly salary regardless of how many hours they work. Hourly employees are paid by the hour and overtime pay as double of hourly salary for all hours worked in excess of 40 hours in a week. Commission employees are paid a percentage of their sales (commission employee wage = commision- Rate*salesAmount). As for base-salaried commission employees, they receive a base salary plus a percentage of their salaries (base-salaried commission employees wage = base salary + (commision Rate*salesAmount)). For the current pay period, the company has decided to reward its salaried-commission based employees by adding 5% to their base salaries. Also, the company wants to give bonus 200 TL to the employee if the current week is the one in which the employee's birthday occurs. Hence, you are supposed to develop an C# application that performs a salary calculation polymorphically for all employees of the company. Note that first you need to draw UML class digram for application and you need to show hierarchy be- tween classes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
