PROGRAM TO CALCULATE GROSS SALARY OF AN EMPLOYEE

/*PROGRAM TO CALCULATE GROSS SALARY OF AN EMPLOYEE*/
#include<stdio.h>
#include<conio.h>
void main()
{
float da,hr,bp,gs;
clrscr();
printf(“Enter the basic pay of employee:”);
scanf(“%f”,&bp);
hr=bp*20/100;
da=bp*50/100;
gs=bp+da+hr;
printf(“Basic pay: %.2f\n”,bp);
printf(“HR: %.2f\n”,hr);
printf(“DA: %.2f\n”,da);
printf(“Gross salary of employee is:%.2f\n”,gs);
getch();
}