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