Advertisement
CR7CR7

Fishland

Feb 10th, 2021
627
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement