C program to Calculate gross salary of a employee
formula Gross Salary=(TA(10%),DA(112%),HRA(10%))
void main()
{
float basic,gross_sal;
clrscr();
printf("Enter the basic salary of an employee=");
scanf("%f",&basic);
printf("\n\nTA=10%\tDA=112%\tHRA=10%");
gross_sal=basic+((10*basic)/100)+((112*basic)/100)+((10*basic)/100);
printf("\n\nThe gross salary of an employee is= %.2f",gross_sal);
getch();
}