yos=int(input("enter your year of service: \n"))
if (yos>5):
salary=int(input("enter your salary: \n"))
bonus=salary*0.05
print(f"your bonus amount is {bonus}")
else:
print("sorry, you are not applicable for getting a bonus")
To embed this project on your website, copy the following code and paste it into your website's HTML: