python code for if years greater than 5 then bonus will be 5 percentage else no bonus
python code for if years greater than 5 then bonus will be 5 percentage else no bonus
s = int(input())
y = int(input())
if(y>5):
print (s*0.05)
else:
print ("No Bonus")
Comments
Post a Comment