Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public double obliczWartosc() {
- double wynik = 0.0;
- if (ileDodanych > 0) {
- for(int i=0; i<ileDodanych; i++) {
- wynik += pozycje[i].obliczWartosc(pozycje[i].cena, pozycje[i].ileSztuk);
- }
- }
- return wynik;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement