Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- income_in_bgn = float(input())
- average_success = float(input())
- minimal_salary = float(input())
- social_scholarship = 0
- excellent_scholarship = 0
- if average_success <= 4.50:
- if income_in_bgn < minimal_salary:
- social_scholarship = minimal_salary * 0.35
- print(f"You get a Social scholarship {social_scholarship} BGN")
- elif income_in_bgn > minimal_salary:
- print(f"You cannot get a scholarship!")
- elif average_success >= 5.50:
- if income_in_bgn > minimal_salary:
- excellent_scholarship = average_success * 25
- print(f"You get a scholarship for excellent results {excellent_scholarship} BGN")
- elif average_success >= 5.50:
- if income_in_bgn < minimal_salary:
- social_scholarship = minimal_salary * 0.35
- excellent_scholarship = average_success * 25
- if social_scholarship > excellent_scholarship:
- print(f"You get a Social scholarship {social_scholarship} BGN")
- elif social_scholarship < excellent_scholarship:
- print(f"You get a scholarship for excellent results {excellent_scholarship} BGN")
- elif average_success <= 5.50:
- if income_in_bgn < minimal_salary:
- social_scholarship = minimal_salary * 0.35
- print(f"You get a Social scholarship {social_scholarship} BGN")
- else:
- print(f"You cannot get a scholarship!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement