sziit 6 rokov pred
rodič
commit
35dd843ab9
2 zmenil súbory, kde vykonal 20 pridanie a 0 odobranie
  1. BIN
      bin/trade/demo.class
  2. 20 0
      src/trade/demo.java

BIN
bin/trade/demo.class


+ 20 - 0
src/trade/demo.java

@@ -0,0 +1,20 @@
+package trade;
+
+public class demo {
+	public static void main(String[] args) {
+		int sum = 0;
+		int k = 0;
+		System.out.println("Hello, Breakpoint!");
+		while (sum < 45000) {
+			k++;
+			for (int i = 0; i < 100; i++) {
+				sum = sum + i;
+				System.out.println("i = " + i);
+				System.out.println("sum = " + sum);
+			}
+			System.out.println("k = " + k);
+			System.out.println("sum = " + sum);
+		}
+
+	}
+}