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