Answers for "An organization has decided to give bonus of 25% to employee if the employees year of service is more than 10 years. Program will ask user for their salary and year of service and display the net bonus amount employee will received."

0

An organization has decided to give bonus of 25% to employee if the employees year of service is more than 10 years. Program will ask user for their salary and year of service and display the net bonus amount employee will received.

print "Enter salary"
salary = input()
print "Enter year of service"
yos = input()
if yos>5:
  print "Bonus is",.05*salary
else:
  print "No bonus"
Posted by: Guest on December-11-2020

Code answers related to "An organization has decided to give bonus of 25% to employee if the employees year of service is more than 10 years. Program will ask user for their salary and year of service and display the net bonus amount employee will received."

Browse Popular Code Answers by Language