8.Write A Programme to accept the basic salary of an employee and check the salary is greater than 20000 or not.If the salary is greater than 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

Enter the Basic Salary:

HRA of a Basic Salary:

DA of a Basic Salary: