Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- age = int(input("Voer leeftijd in: "))
- yearsOfService = int(input("Voer aantal dienstjaren in: "))
- holidayDays = 25
- if (yearsOfService > 25 and yearsOfService <= 40):
- holidayDays += 2
- elif (yearsOfService > 40):
- holidayDays += 5
- if (age > 45 and age < 55):
- holidayDays += 1
- elif (age > 56 and age < 65):
- holidayDays += 2
- print("Uw aantal vakantie dagen is = {}".format(holidayDays))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement