Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kompotJars = int(input()) + 1
- konfJars = int(input()) + 1
- cherriesKompot = (kompotJars * 0.300) + 0.05 * (kompotJars * 0.300)
- cherriesKonf = (konfJars * 0.650) + 0.1 * (konfJars * 0.650)
- sum = (cherriesKompot + cherriesKonf) * 3.20
- print("%.2f" % sum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement