logo image

Ruby program to print Hello World!



Following program shows you how to print Hello World!. In this program we use puts to print hello world

puts "Hello World!"

Output:

Hello World!