From 2b95656021bda68b0ecc856e26c00b2ec5bc6156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Tue, 30 Apr 2024 21:08:34 +0300 Subject: [PATCH] Hello World examples, the first one is same line, the other one is newline --- ChangeLog | 6 ++++++ hello-world-two-strings-newline.rb | 2 ++ hello-world-two-strings.rb | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 ChangeLog create mode 100644 hello-world-two-strings-newline.rb create mode 100644 hello-world-two-strings.rb diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..6f79086 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,6 @@ +2024-04-30 Mert Gör + + * hello-world-two-strings-newline.rb: Hello world examples two string different lines, or newline added + + * hello-world-two-strings.rb: Hello world examples with to strings in same line + diff --git a/hello-world-two-strings-newline.rb b/hello-world-two-strings-newline.rb new file mode 100644 index 0000000..6a4aba9 --- /dev/null +++ b/hello-world-two-strings-newline.rb @@ -0,0 +1,2 @@ +print "Hello, World!\n" +print "Welcome to Ruby programming!" diff --git a/hello-world-two-strings.rb b/hello-world-two-strings.rb new file mode 100644 index 0000000..9b173f4 --- /dev/null +++ b/hello-world-two-strings.rb @@ -0,0 +1,2 @@ +print "Hello, World!" +print " Welcome to Ruby programming!"