Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. import math
  2.  
  3. incomes = float(input())
  4. round_grade = float(input())
  5. min_salary = float(input())
  6.  
  7. scholarship_size_otl = round_grade * 25
  8. scholarship_size_social = min_salary * 0.35
  9.  
  10. if 4.50 < round_grade < 5.50 and incomes < min_salary:
  11. print(f"You get a Social scholarship {math.floor(scholarship_size_social)} BGN")
  12. elif round_grade >= 5.50:
  13. print(f"You get a scholarship for excellent results {math.floor(scholarship_size_otl)} BGN")
  14. elif 5.50 <= round_grade and scholarship_size_otl < scholarship_size_social:
  15. print(f"You get a Social scholarship {math.floor(scholarship_size_social)} BGN")
  16. else:
  17. print("You cannot get a scholarship!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement