Answer to Question #243552 in Algorithms for Smiley

Question #243552

Currently, XYZ Company decided to have a computer program that will automate the

computation and 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. In addition, the company also requires the 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 P100.00 and the rest of each deduction value are coming

from the data entry or inputs of the user. In order compute the salary of the employee,

the company provide a certain formula such as:


(Pseudocoding and Flowcharting)


1
Expert's answer
2021-09-28T11:43:02-0400
Start
   Declare variables ratePerHour,hoursPerDay,daysPerWeek,
   weeksPerMonth,PagibigContribution,SSS,PhilhealthTax
   Read ratePerHour
   Read hoursPerDay
   Read daysPerWeek
   Read weeksPerMonth
   Read SSS
   Read PhilhealthTax
   Set PagibigContribution = 100
   Set GrossIncome = ratePerHour*hoursPerDay*daysPerWeek*weeksPerMonth
   Set TotalDeduction = SSS+PhilhealthTax+PagibigContribution
   Set NetIncome= GrossIncome-TotalDeduction
   Display NetIncome
Stop





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS