Ruby program to print a multiline Hello World!

Views: 89   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

puts "Hello \nWorld!"

Output:

Hello 
World!
On By