Computer Science, asked by Shazuchamp4393, 1 day ago

Write a program which calculates and print HDA and DA of an employee the basic salary BS of an employee is entered by user if BS is more than 10000 then HRA is 85%of BS .If BS is less than 10000 then HRA is 100% of BS .DA is is 45%BS

Answers

Answered by Hackermanprith
0

Answer:

salary = float(input("Enter your salary"))

if salary > 10000:

   print("HRA is 85%")

elif salary < 10000:

   print("DA is 45% Bs")

Explanation:

Similar questions