6. WAP 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 A Number

HRA
DA