Skip to content

Instantly share code, notes, and snippets.

@ImOmkar
Created August 16, 2018 18:53
Show Gist options
  • Save ImOmkar/744e399d3f6ad936c94aa4c13e31be53 to your computer and use it in GitHub Desktop.
Save ImOmkar/744e399d3f6ad936c94aa4c13e31be53 to your computer and use it in GitHub Desktop.
Program to calculate gross salary in python
bs=float(input("Enter your basic salary :\n"))
da=bs*0.6
hra=bs*0.15
gs=bs+da+hra
print("Your Gross Salary is: ",gs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment