Write a c program to accept and print the details of an 4 employees using array of structures, ( details are – empname, empid, basic salary, HRA(10% basic salary), DA(90% of basic salary), gross salary (basic salary + HRA +DA), tax deduction ( 20% of gross salary), Netpay(gross salary – tax deduction)) and store the input and output in a file and display the result reading form the file.
Answers
Answered by
0
Answer:
are – empname, empid, basic salary, HRA(10% basic salary), DA(90% of basic salary), gross salary (basic
Answered by
0
Basic salary : $ 12000
DA : 12% of Basic salary
HRA : $150
TA : $120
Others : $450
Tax cuts – a) PF :14% of Basic salary and b) IT: 15% of Basic salary
Net Salary = Basic Salary + DA + HRA + TA + Others – (PF + IT)
Similar questions