Program to calculate gross salary, deduction, net salary of an employee.
Position Desc.
1 - 3 Emp-No
5 - 14 Emp-Name.
15 - 21 Basic (9(4) V 99).
Consider the condition
Basic Da Hra Ma Pt Pf It.
<1000 5% 2.5% 50 20 8% -
<3000 7.5% 5% 250 60 8% -
<5000 11% 7.5% 500 60 11% 11%
else
25% 11% 700 80 12% 20%.
Calculate
Gross S = Basic + Da + Hra + Ma.
Deduction = Gross S - Pf - Pt - It.
Net Salary = Gross S - Deduction.
Output file should contain all the fields of
input file and calculated Gross S Deduction and Net Salary.