From: jamison edmonds Date: 2006-11-08T02:37:55+09:00 Subject: 99 bottles of beer...pg57 --0-1940754739-1162921069=:27813 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: quoted-printable Hi =0A=0A=0A=0AI=A2m reading the book Learn to Program, by Chris Pine. I=0A= wanted to see if my program 99 bottles of beer on the wall, from (pg.57 or = http://pine.fm/LearnToProgram/?Chapter=3D06 ) is=0Ao.k.? =0A=0A=0AAn onlin= e search thru Google found Ruby-Talk, and I=0Ainstantly bookmarked it.=0A= =0A=0ANow I=A2m on the list.=0A=0A=0AAny thoughts would be appreciated ;) = =0A=0A=0AHears my try at it=0A=0A=0AThanks=0A=0A=0Aputs=0Aputs '99, Bottles= of beer on the wall, 99 bottles of beer,'=0Aputs 'take one down, pass it a= round,' =0Afirst =3D 99=0Awhile first !=3D 1 =0A if first !=3D 1=0A = first =3D first -1=0A end=0A puts first.to_s + ' Bottles of beer on th= e wall, ' + first.to_s + ' bottles of beer,'=0A puts 'take one down pass i= t around,'=0Aend =0Aputs '0,Bottles of beer on the wall ;)' =0A=0A=0A --0-1940754739-1162921069=:27813--