dimanou_04

Untitled

Aug 21st, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. one_page_price = float(input())
  2. one_page_cover = float(input())
  3. percent_discount_paper = int(input())
  4. designer_sum = float(input())
  5. total_sum = int(input())
  6.  
  7. starting_sum = one_page_price * 899 + one_page_cover * 2
  8. discount = starting_sum - (starting_sum * percent_discount_paper / 100)
  9. designer_price = discount + designer_sum
  10. crew_money = designer_price - (designer_price * total_sum / 100)
  11.  
  12. print(f"Avtonom should pay {crew_money:.2f} BGN.")
  13.  
Advertisement
Add Comment
Please, Sign In to add comment