Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dohod = float(input())
- months_have = int(input())
- expences = float(input())
- save_per = ((dohod - expences - dohod * 0.3) / dohod) * 100
- sum_saved = (dohod - expences - dohod * 0.3) * months_have
- print(f"She can save {save_per:.2f}%")
- print(f"{sum_saved:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement