C Program to calculate the net salary of an employee

C program to calculate salary

Program:-


Click here to Download source code

Output:-

enter the basic salary of employee
14871
basic=14871
da=6989.370117
hra=2230.649902
cca=500
************
net_sal=22131.917969


enter the basic salary of employee
4178  
invalid basic salary input

enter the basic salary of employee
85403
basic=85403
da=46117.621094
hra=10248.360352
cca=500
************
net_sal=125196.703125


Leave reply

Add your comments here

Back to Top