Care to take a minute and help out a newbie? ;)
I've tried everything I can think of, but I don't come from a
programming background.

puts 'What is your first name?'
first_name = gets.chomp
puts 'Middle name?'
middle_name = gets.chomp
puts 'Last name?'
last_name = gets.chomp
puts 'did you know there are ' first_name + middle_name + last_name +
'characters'
puts 'in your name' + first_name + middle_name + last_name + '?'

ERROR:

ruby length.rb
length.rb:7: syntax error, unexpected tIDENTIFIER, expecting $end
...ou know there are ' first_name + middle_name + last_name + '...

Thanks a ton :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to