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