From: Merrie Date: 2007-04-04T04:51:40+09:00 Subject: Question - Numbers & Variables ------=_NextPart_000_0005_01C7766C.805CCF20 Content-Type: text/plain; charset="iso-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.=20 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 =3D gets.chomp num=3Dnum +1 puts 'Well this ' + num + ' might be better.' ------=_NextPart_000_0005_01C7766C.805CCF20--