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"