I wrote this simple payroll program using Python programming language I hope you will like it.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details. If you want to advertise on my website, kindly contact me also at my email address also. Thank you.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
My mobile number here in the Philippines is 09173084360.
Program Listing
# Simple_Payroll.py
# Author : Jake Rodriguez Pomperada, MAED-IT, MIT
# Python
# www.jakerpomperada.com and www.jakerpomperada.blogspot.com
# jakerpomperada@gmail.com
# Bacolod City, Negros Occidental
print("===========================")
print(" Simple Payroll in Python ")
print("===========================")
print()
name = str(input("Enter Employee Name: "))
hr = int(input("Enter hours rendered: "))
rate = int(input("Enter rate per hour: "))
gsis = int(input("GSIS Premium: "))
ph = int(input("PhilHealth: "))
loan = int(input("Housing Loan: "))
tax = int(input("Tax Rate: "))
gross = hr*rate
deduc = gsis+ph+loan+(gross*(tax/100))
net = gross - deduc
print("===========================")
print("Gross Salary is %.2f" %(gross))
print("Total Deduction is %.2f" %(deduc))
print("Net Salary is %.2f" %(net))
No comments:
Post a Comment