Discover Company wants to display the salary (net income) of their employees every payday. To compute the salary of an employee, the company requires the following input data such as: rate per hour, number of hours per day, number of days per week, and
number of weeks per month.
Obligatory deduction of each employee which allocated for SSS contribution, Philhealth contribution, Tax contribution, and Pagibig contribution.
For pagibig contribution, the deduction is fixed to P200.00 and rest of each deduction value are coming from the data entry or inputs of the user.
Gross Income = the product of rate per hour, number of hours per day, number
of days per week, and number of weeks per month.
Total Deduction = the sum of SSS, Philhealth, Tax and Pagibig contribution.
Net Income= difference between Gross Income and Total Deduction.
Note: Computed net income is the equivalent salary of an employee per payday.
start
employe details
enter wedge per hour =x
number of hour per day =y
number of working day per week =z
number of week per month =n
Gross income per month = x*y*z*n
enter deduction details
Obligatory deduction for sss contribution m%
health contribution =o%
tax deduction = p%
Pagibig contribution=200.0
Total deduction =m% of xyzn-O% of xyzn-p% of xyzn-200.0
net income per month= gross income -total deduction
net income per day =net per month /n*z
Comments
Leave a comment