@@ -0,0 +1,1166 @@
+package pl.krajan.sendbox;%0A%0Apublic class Homework2 %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A      hello(%22User%22);%0A%0A      Squeare s = new Squeare(9);%0A%0A      Rectangle r = new Rectangle(10,2);%0A%0A      Triangle t = new Triangle(10);%0A%0A      Homework h = new Homework(120, 90, 7);%0A%0A        System.out.println(%22Pole kwadratu o dlugosci %22 + s.l + %22 = %22 + s.wzorkwadratu());%0A        System.out.println(%22Pole ptostokatu o dlugosci %22 + r.a + %22 i szerokosci %22 + r.b +%22 = %22 + r.prostokatu());%0A        System.out.println(%22HOMEWORK Sum %22 + h.u + %22 and %22 + h.w + %22 divided %22 + h.z + %22 results %22 + h.resoulthomerork());%0A        System.out.println(%22Pierwiastek z liczby %22 + s.l + %22 wynosi %22 + t.pierwiastek(s.l));%0A        System.out.println(%22Liczba %22 + r.a + %22 podniesione do potegi %22 + r.b + %22 jest rowna %22 + t.potega(r.a, r.b));%0A        System.out.println(%22Wysokosc trojkata o podstawie %22 + t.alpha + %22 jest rowna %22 + t.wysokosctrojkata(t));%0A        System.out.println(%22Pole trojkata rownobocznego, o boku %22 + t.alpha + %22 jest rowne %22 + t.poletrojkata(t));%0A    %7D%0A%0A    private static void hello(String somebody) %7B%0A        System.out.println(%22Witaj %22 + somebody + %22!%22);%0A    %7D%0A%7D

add class homework2