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