Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- one_page_price = float(input())
- one_page_cover = float(input())
- percent_discount_paper = int(input())
- designer_sum = float(input())
- total_sum = int(input())
- starting_sum = one_page_price * 899 + one_page_cover * 2
- discount = starting_sum - (starting_sum * percent_discount_paper / 100)
- designer_price = discount + designer_sum
- crew_money = designer_price - (designer_price * total_sum / 100)
- print(f"Avtonom should pay {crew_money:.2f} BGN.")
Advertisement
Add Comment
Please, Sign In to add comment