Q8. Write a program to accept the basic salary of an employee and check the salary is greater
than 20000 or not. If the salary is greater then 20000 then find -
Hra=20% of basic salary
Da=15% of basic salary
Other wise
Hra=30% of basic salary
Da=25% of basic salary.