First time here? Checkout the FAQ!
x
menu search
brightness_auto
more_vert

Write A Python Program to Calculate Gross Salary of Employee ?

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
 
verified
Best answer
print("Employee Gross Salary Calculator")

a = input("Enter Name of Employee :  ")

h= input("Enter Name of Company : ")

b= input ("Enter Basic salary of Employee : ")

c = input(" Dearness allowance percentage : ")

d = input(" House Rent allowance percentage : ")

print("Gross salaray Reciept of  ",a)

print(" Base salary Offered By company : ",b)

e= int(b)*int(c)/int(100)

print("Dearness allowance offered by company : ",e)

f= int(b)*int(d)/int(100)
print("House Rent Allowance offerd by Company : ",f)

g=int(b)+int(e)+int(f)
print(" Gross Salary : ",g)

print(h)
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
...