PAGE 32 Last Paragraph

Ask for first, middle, last name and add the lengths together.

puts 'What is your first name?'
fname = gets.chomp
puts 'What is your middle name?'
mname = gets.chomp
puts 'What is your last name?'
lname = gets.chomp
numletters = fname.length + mname.length + lname.length
puts 'Did you know, there are ' + numletters.to_s + ' letters in your full name?'