. A company has three types of salary packages maintains records of all employees by their employee ID, name and salary. • Salaried employees are paid a fixed monthly salary regardless of the number of hours worked. • Hourly employees are paid by the hour and receive overtime pay for all hours worked in excess of 40 hours. Overtime pay is 100Rs/hour which cannot be altered by any object or function. • Commission employees are paid a percentage of their sales. The commission rate is 10% which cannot be altered by any object or function. a. Assume all three categories of employees are linked to company and access its details and submit their ID, Name at the time of registration in their respective categories and their salaries are only calculated by get earning method having no implementing in company class. b. Assume there are five salaried employees, five hourly employees and five commission employees. c. Assume basic salary of each salaried employees and house rent allowance 10%,medical allowance 10% of their basic salary and they pay income tax 5% of their basic salary. d. Assume three out of five employees got overtime pay due to exceed of 40 hours and two hours each day not including four holidays. e. Assume all commission employees has done sales of 10 items which is 50,000 Rs. For whole month. Calculate monthly salaries of all above employee’s categories and print with their IDs, Names with respective categories.
Aucun commentaire:
Enregistrer un commentaire