Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- processors = int(input())
- workers = int(input())
- days = int(input())
- workHours = workers * days * 8
- procReady = (int)(math.floor(workHours / 3))
- if procReady < processors:
- print("Losses: -> %.2f BGN" % ((processors - procReady) * 110.10))
- else:
- print("Profit: -> %.2f BGN" % ((procReady - processors) * 110.10))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement