Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import floor
- income, grade, min_salary = [float(input()) for _ in range(3)]
- social_scholarship = min_salary * 0.35
- excellent_scholarship = grade * 25
- if income < min_salary and 4.5 < grade < 5.5:
- print(f'You get a Social scholarship {floor(social_scholarship)} BGN')
- elif grade >= 5.5:
- print(f'You get a scholarship for excellent results {floor(excellent_scholarship)} BGN')
- else:
- print('You cannot get a scholarship!')
Advertisement
Add Comment
Please, Sign In to add comment