Re: A bit of help

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs