SHARE
TWEET

Untitled

a guest Nov 21st, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math
  2.  
  3. income = float(input())
  4. grade = float(input())
  5. salary = float(input())
  6.  
  7. scholarship = grade * 25
  8. social_scholarship = salary * 0.35
  9.  
  10. if grade >= 5.50 and income < salary:
  11.     if social_scholarship > scholarship:
  12.         print(f"You get a Social scholarship {math.floor(social_scholarship)} BGN")
  13.     else:
  14.         print(f"You get a scholarship for excellent results {math.floor(scholarship)} BGN")
  15.  
  16. elif grade >= 5.50:
  17.     print(f"You get a scholarship for excellent results {math.floor(scholarship)} BGN")
  18.  
  19. elif grade > 4.50 and income < salary :
  20.     print(f"You get a Social scholarship {math.floor(social_scholarship)} BGN")
  21.  
  22. else:
  23.     print("You cannot get a scholarship!")
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top