Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Write a program to calculate the net pay of an employee

Write a program to calculate the net pay of an employee

Computer Science

Write a program to calculate the net pay of an employee. Input the basic pay and calculate the net pay as follows:

1. House rent is 45% of the basic pay.

2. Medical Allowance is 20% of the basic if basic is

greater than Rs 5000/-. It is 10% of the basic pay

if the pay is less than Rs. 5000/-.

3. Conveyance allowance is Rs. 1000/- if basic pay

is less than Rs 5000/- It is Rs. 5000/- if basic

pay is greater than Rs. 5000/-.

4. Net

pay

is

calculated

by

adding

basic pay,

medical allowance, conveyance allowance and house

rent.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE