Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby hello

puts "What is your name?"
name = gets.chop
puts "Hello, #{name}!"
 
PREVIOUS NEXT
Tagged: #ruby
ADD COMMENT
Topic
Name
7+7 =