Commit 17834afc by patryk

Drobne poprawki w commons

parent fb3ebe68
This diff is collapsed. Click to expand it.
......@@ -73,5 +73,3 @@ public class CommonsLang {
}
}
......@@ -11,8 +11,10 @@ public class CommonsMath {
System.out.println(Arrays.toString(a));
double srednia = StatUtils.mean(a);
System.out.println(srednia);
System.out.println("średnia: " + srednia);
System.out.println("min i max: " + StatUtils.min(a) + " , " + StatUtils.max(a));
System.out.println("wariancja: " + StatUtils.variance(a));
}
}
......@@ -26,11 +26,9 @@ public class CzytajPlikCSV {
System.out.printf("Pracownik %s %s (%s) zarabia %s\n",
record.get("first_name"), record.get("last_name"), record.get("job_title"), record.get("salary"));
}
} catch (IOException e) {
e.printStackTrace();
};
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment