Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- salary_bgn = float(input())
- average = float(input())
- minimal_salary = float(input())
- social_bonus = int(minimal_salary * 0.35)
- great_bonus = int(average * 25)
- if salary_bgn > minimal_salary or average < 4.5:
- print ("You cannot get a scholarship!")
- elif salary_bgn < minimal_salary and average > 4.5 and average < 5.5:
- print(f'You get a Social scholarship {social_bonus} BGN')
- elif average > 5.5 and salary_bgn < minimal_salary and average > 4.5 and social_bonus < great_bonus:
- print(f'You get a scholarship for excellent results {great_bonus} BGN')
- elif average > 5.5 and salary_bgn < minimal_salary and average > 4.5 and social_bonus > great_bonus:
- print(f'You get a Social scholarship {social_bonus} BGN')
- elif average > 5.5 :
- print(f'You get a scholarship for excellent results {great_bonus} BGN')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement