Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- campaign_days = int(input())
- pastry_cook = int(input())
- cakes = int(input())
- waffles = int(input())
- pancakes = int(input())
- cake_price = 45
- waffles_price = 5.80
- pancakes_price = 3.20
- total_sum = pastry_cook * campaign_days * ((cakes * cake_price) + (waffles * waffles_price) +
- (pancakes * pancakes_price))
- expenses = total_sum - total_sum / 8
- print(expenses)
Advertisement
Add Comment
Please, Sign In to add comment