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