Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public double obliczWartosc() {
  2.         double wynik = 0.0;
  3.         if (ileDodanych > 0) {
  4.                 for(int i=0; i<ileDodanych; i++) {
  5.                     wynik += pozycje[i].obliczWartosc(pozycje[i].cena, pozycje[i].ileSztuk);
  6.                 }
  7.         }
  8.         return wynik;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement