Update Zad3.java
Merge pull request #2 from matesik1995/patch-3

Update Zad3.java