Of course after I post, I figure out the solution!
puts 'Hello, what is your favorite number?'
number = gets.chomp
better = number.to_i+1
puts number.to_s + '?? Aren\'t you aware that ' + better.to_s + ' is a
far better choice?'
Is that the best way to accomplish this? You can't mix strings and
integers- at all? Period?
Thank you!
--
Posted via http://www.ruby-forum.com/.