#include <stdio.h>
int main() {
float Basic, Da, Hra, Ma, Pf, Gross, Nt;
printf("Enter basic salary: ");
scanf("%f", &Basic);
printf("========================================\n");
printf(" Salary Pay Bill\n");
printf("========================================\n");
Da = 0.1 * Basic;
printf("Value of Da: %f\n", Da);
Hra = 0.075 * Basic;
printf("Value of Hra: %f\n", Hra);
Ma = 300;
printf("Value of Ma: %f\n", Ma);
Pf = 0.125 * Basic;
printf("Value of Pf: %f\n", Pf);
Gross = Basic + Da + Hra + Ma;
printf("GROSS= %f\n", Gross);
Nt = Gross - Pf;
printf("NET= %f\n", Nt);
return 0;
}