WAP in C To Find Out The Gross Amount From The Given Basic Pay Gross=Basic+HRA+DA Da and hra can be calculated as follows: If basic pay is greater than or equal to 8000 DA is 20% of Basic Pay & HRA is 25% of Basic Pay, other wise DA is 15% of basic Pay & HRA is 20% Of Basic Pay.