C - Calculate Employee and Employer Provident Fund using C program
In this C program, we will learn how to calculate employee and employer contribution in provident fund (pf) based on basic pay using c program?
In this program, we define two macros for employee and employee fund contribution percentage and taking basic pay as input, based on this percentage, program is calculating provident fund (pf) which is deducting from your salary and employer is contributing.
Calculate Employee and Employee Provident Fund Contribution using C Program
Output
Enter basic pay: 35000 Basic Pay: 35000.000000 Employee contribution: 4375.000000 Employer Contribution: 4200.000000need an explanation for this answer? contact us directly to get an explanation for this answer