Question:

Computer Programming. In a certain company, employees are paid in an hourly basis. Write a

by  |  earlier

0 LIKES UnLike

In a certain company, employees are paid in an hourly basis. Write a programthat will accept the number of hours worked, rate per hour and civil of an employee as inputs. The program will compute for the net take home pay for the week. Net take home pay is computed as gross pay minus tax. Gross pay is equal to number of hours worked times rate per hour. After computingfor gross pay, compute for the taxable amount which is computed as gross pay minus exemptions. If the employee is married, ask for the number of children and exemption is equal to 10% of gross pay plus P50 per child but only until 4. If single, exemption is only 8% of gross pay. Tax is computed as taxable amount times tax rate where tax rate varies depending on the taxable amount and is based on the given conditions below;?>If taxable amount is equal or greater than P25,000, tax rate is 10%>If taxable amount is less than P25,000 but equal or greater than P20,000, tax rate is 8%>If taxable amount is less than P20,000 but equal or greater than P15,000, tax rate is 6%>If taxable amount is less than P15,000, tax rate is 5%.

 Tags:

   Report
Please Login to view 2 answers to this question

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions