diff --git a/Hello world 3 times.java.txt b/Hello world 3 times.java.txt new file mode 100644 index 0000000..eae2c18 --- /dev/null +++ b/Hello world 3 times.java.txt @@ -0,0 +1,8 @@ +public class HelloWorld { + public static void main(String[] args) { + for (int i = 0; i < 3; i++) { + System.out.println("Hello World"); + } + } + +} \ No newline at end of file diff --git a/Hello world 4 times.java.txt b/Hello world 4 times.java.txt new file mode 100644 index 0000000..0e396db --- /dev/null +++ b/Hello world 4 times.java.txt @@ -0,0 +1,8 @@ +public class HelloWorld { + public static void main(String[] args) { + for (int i = 0; i < 4; i++) { + System.out.println("Hello World"); + } + } + +} \ No newline at end of file