Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- income_leva = float(input())
- middle_marks = float(input())
- minimal_working_salary = float(input())
- social_scholarship = minimal_working_salary * 0.35
- scholarship_for_excellent_grades = middle_marks * 25
- if scholarship_for_excellent_grades >= social_scholarship and income_leva > minimal_working_salary:
- print(f"You get a scholarship for excellent results {scholarship_for_excellent_grades:.0f} BGN")
- elif income_leva < minimal_working_salary and middle_marks > 4.50:
- print(f"You get a Social scholarship {social_scholarship:.0f} BGN")
- else:
- print(f"You cannot get a scholarship!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement