Question: A Company needs to have a Payroll System for creation of payslip for each hourly waged employee. Pay calculation is based on following criteria If

A Company needs to have a Payroll System for creation of payslip for each hourly waged employee. Pay calculation is based on following criteria


If working hours 35, Total salary -BASIC PAY HOURS WORKED More than 35, Total salary BASIC PAY 10%. Create class and write the required method and members that gets basic pay and hours worked and display the Total salary:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Class salaryCal def initself hours b... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Human Resource Management Questions!