ZAD4 #33

Closed
s426182 wants to merge 18 commits from (deleted):ZAD4 into master
Showing only changes of commit bca2393662 - Show all commits

View File

@ -39,4 +39,18 @@ public class Main {
//showPoly(polynomial);
}
// wypelnienie wielomianu
public static LinkedList<Integer> fill(String[] str, LinkedList<Integer> polynomial){
for(int i=0; i <str.length; i++) {
polynomial.add(Integer.parseInt(str[i]));
}
return polynomial;
}
public static void showPoly(LinkedList<Integer> poly) {
System.out.println(poly.toString());
}
}