Hello World examples, the first one is same line, the other one is newline
This commit is contained in:
parent
b03c65ad12
commit
2b95656021
3 changed files with 10 additions and 0 deletions
6
ChangeLog
Normal file
6
ChangeLog
Normal file
|
@ -0,0 +1,6 @@
|
|||
2024-04-30 Mert Gör <mertgor@masscollabs.xyz>
|
||||
|
||||
* 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
|
||||
|
2
hello-world-two-strings-newline.rb
Normal file
2
hello-world-two-strings-newline.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
print "Hello, World!\n"
|
||||
print "Welcome to Ruby programming!"
|
2
hello-world-two-strings.rb
Normal file
2
hello-world-two-strings.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
print "Hello, World!"
|
||||
print " Welcome to Ruby programming!"
|
Loading…
Add table
Reference in a new issue