Write a C program which accepts basic salary as input and prints the gross salary, which is sum of the basic, dearness allowance (60% of basic salary), and house rent allowance (15% of basic salary), .
#includeint main () { float Basic, HR, DA, Gross_Salary; printf("\n Please Enter the Basic Salary of an Employee : "); scanf("%f", &Basic); HR=(Basic*15)/100; YES = (Basic * 60) / 100; Gross_Salary = Basic + HR + DA; printf("\n Gross Salary of this Employee = %.2f", Gross_Salary); return 0; }