diff --git a/src/main/java/src/TasksFrame.java b/src/main/java/src/TasksFrame.java index 1ad32df..03b70c4 100644 --- a/src/main/java/src/TasksFrame.java +++ b/src/main/java/src/TasksFrame.java @@ -75,6 +75,8 @@ public class TasksFrame extends JFrame { setupArea(); + setupFakultaet(); + setupSumFromTo(); setup5ModList(1, 20); @@ -655,6 +657,55 @@ public class TasksFrame extends JFrame { return a-b; } + public int Fakultaet(int a){ + int sum = 0; + int faku=1; + while ( sum setup5ModList(int from, int to) {