PYTHON:- basic salary of a person

amount = float(input(" Enter the amount"))
days = float(input(" Enter the number of days"))
basic = amount*days
DA = 0.80*basic
HRA = 0.15*basic
TAX = 0.05*basic
PF = 0.10*basic
gross = basic + DA +HRA
print("The GROSS salary is ",gross)
Net_pay = gross -(TAX+PF)
print("The net salary is ", Net_pay)




OUTPUT:-


For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/





Post a Comment

0 Comments