Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are expected to solve the following problems with C#. Draw UML diagrams if asked. You are asked to design and implement a C# program
You are expected to solve the following problems with C#. Draw UML diagrams if asked.
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 + (commisionRate*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 classesStep 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