// Program
# include <stdio.h>
int main()
{
float BS,DA,HRA,PF,NETSAL;
printf("Enter Basic Salary of the employee : ");
scanf("%f",&BS);
DA = 0.25 * BS;
HRA = 0.15 * BS;
PF = 0.10 * (BS+DA+HRA);
NETSAL = BS+DA+HRA-PF;
printf("Net Salary of the employee is : %.2f",NETSAL);
return 0;
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.