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