Advertisement
Guest User

Untitled

a guest
May 4th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. if (liczba[j] == '1')
  2. {
  3. if (ladunek + tabWaga[j] < ladownosc)
  4. {
  5. profit += tabWartosc[j];
  6. ladunek += tabWaga[j];
  7. }
  8. }
  9. }
  10. if (profit > profitMax)
  11. {
  12. profitMax = profit;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement