Advertisement
LoraPashalieva

Untitled

Apr 23rd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.59 KB | None | 0 0
  1. income_leva = float(input())
  2. middle_marks = float(input())
  3. minimal_working_salary = float(input())
  4.  
  5. social_scholarship = minimal_working_salary * 0.35
  6. scholarship_for_excellent_grades = middle_marks * 25
  7.  
  8. if scholarship_for_excellent_grades >= social_scholarship and income_leva > minimal_working_salary:
  9.     print(f"You get a scholarship for excellent results {scholarship_for_excellent_grades:.0f} BGN")
  10. elif income_leva < minimal_working_salary and middle_marks > 4.50:
  11.     print(f"You get a Social scholarship {social_scholarship:.0f} BGN")
  12. else:
  13.     print(f"You cannot get a scholarship!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement