Forum: Ruby Re: A bit of help

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jeremy W. (Guest)
on 2007-05-18 19:54
(Received via mailing list)
Here is a little chunk of code that may help you

puts 'I am a fortune-teller.  Tell me your first name:'
fname = gets.chomp
  puts 'What is your last name.'
  lname = gets.chomp
puts 'Hello, '+ fname + ' '+ lname + '. ''Your name is a great one!'
This topic is locked and can not be replied to.