ask first, middle, last name. greet with full name.
puts 'What is your first name?'
nameF = gets.chomp
puts 'What is your middle name?'
nameM = gets.chomp
puts 'What is your last name?'
nameL = gets.chomp
puts 'Hi ' + nameF + ' ' + nameM + ' ' + nameL
2. Ask for favorite number. Add one and suggest the result is bigger and better.
ask for favorite number. add 1 to the number and suggest the result is bigger and better than favorite number.
puts 'What is your favorite number?'
numFAV = gets.chomp
numBET = numFAV.to_i + 1
puts 'Your favorite number ' + numFAV.to_s + ' is nice, however ' + numBET.to_s + ' is bigger and better.'