Advertisement
CR7CR7

Fishland

Feb 10th, 2021
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. cenaSkumriq = float(input())
  2. cenaCaca = float(input())
  3. kgPalamud = float(input())
  4. kgSafrid = float(input())
  5. kgMidi = int(input())
  6.  
  7. cenaPalamud = cenaSkumriq + cenaSkumriq * 0.60
  8. sumaPalamud = kgPalamud * cenaPalamud
  9. cenaSafrid = cenaCaca + cenaCaca * 0.80
  10. sumaSafrid = kgSafrid * cenaSafrid
  11. sumaMidi = kgMidi * 7.50
  12. smetka = sumaPalamud + sumaMidi + sumaSafrid
  13. print('%.2f'%(smetka))
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement