0 votes
119 views
in Python Programming (SBLC) by (420 points)
edited by
Write A Python Program to Calculate Gross Salary of Employee ?

1 Answer

0 votes
by (98.9k points)
selected by
 
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)

Related questions

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

563 users

...