------extPart_000_0005_01C7766C.805CCF20
Content-Type: text/plain;
	charsetso-8859-1"
Content-Transfer-Encoding: quoted-printable

Im currently working through the book 'Learn to Program' by Chris Pine and I am stuck on one of the exercises. I feel like Im close to the answer but just cannot quite get it. I appreciate the help. Below is the program. 

What I would like to see is: What is your favorite number? 14 Well this 15 (adding 1) might be better. The error is relating to to_i but Im not sure where to place it on the num or the +1?

puts 'What is your favorite number?'
num = gets.chomp
num=num +1
puts 'Well this ' + num + ' might be better.'
------extPart_000_0005_01C7766C.805CCF20--