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