Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 2.01 KB

File metadata and controls

47 lines (26 loc) · 2.01 KB

Employee_Wages_ComputationProgram_JS


Welcome to this Programs, its based on Employee management service to check Employee availability, Employee salary and wages , and some calculation.

UC1 ::: Program to check Employee is Present or Absent by using Random Module.

UC2 ::: Program to Calculate Daily Employee Wage based on part time or full time work by using Random function.

UC3 ::: Refactor the Code to write a function to get work hours.

UC4 ::: Calculating Wages for a Month assuming 20 Working Days in a Month.

UC5 ::: Calculate Wages till a condition of total working hours of 160 or max days of 20 is reached for a month.

UC6 ::: Store the Daily Wage along with the Total Wage - Save in an Array the Daily wage.

UC7 ::: Use the Daily Wage Array perform following operations using Array Helper Functions

UC8 ::: Store the Day and the Daily Wage along with the Total Wage - Use Map to store Day wise Wage

UC9 ::: Use the Daily Wage Map and Daily Hour Map perform following operations using Arrow Functions: ->

**a. Calc total Wage and total hours worked.

**b. Show the full workings days, part working days and

**c. no working days

UC10 ::: Ability to store the Day, Hours Worked and Wage Earned in a single object.

UC11 ::: Perform following Object operations using Arrow Functions::

**a. Calc total Wage and total hours worked

**b. Show the full workings days using foreach

**c. Show Part working days using Map by reducing to String Array

**d. No working days only using Map function

#Employee Payroll Servce

UC12 ::: Ability to createEmployee Payroll Data with id, name and salary and to store gender and start date

UC13 ::: Ability to check the name starts with capital and has at least 3 characters - Use Regex Pattern - Use Try Catch in case of Error.