From 51c5b3e49ff2416cda9de89a9b68f17321d9cde2 Mon Sep 17 00:00:00 2001 From: Theekshana Jayasanka Date: Wed, 21 Oct 2020 01:43:52 +0530 Subject: [PATCH 1/2] Hello world 3 times using Java --- Hello world 3 times.java.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Hello world 3 times.java.txt 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 From 42840d59a15b027b0d5ae59205abde992c74aef6 Mon Sep 17 00:00:00 2001 From: Theekshana Jayasanka Date: Wed, 21 Oct 2020 01:52:15 +0530 Subject: [PATCH 2/2] Print hello world 3 time in java --- Hello world 4 times.java.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Hello world 4 times.java.txt 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