daily pastebin goal
7%
SHARE
TWEET

VakantieDagenBerekenenOpdr

Erikv99 Oct 12th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. age = int(input("Voer leeftijd in: "))
  2. yearsOfService = int(input("Voer aantal dienstjaren in: "))
  3.  
  4. holidayDays = 25
  5.  
  6. if (yearsOfService > 25 and yearsOfService <= 40):
  7.  
  8.     holidayDays += 2
  9.  
  10. elif (yearsOfService > 40):
  11.  
  12.     holidayDays += 5
  13.  
  14. if (age > 45 and age < 55):
  15.  
  16.     holidayDays += 1
  17.  
  18. elif (age > 56 and age < 65):
  19.  
  20.     holidayDays += 2
  21.  
  22. print("Uw aantal vakantie dagen is = {}".format(holidayDays))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top