From: Ferdous ara Date: 2012-11-23T06:27:48+09:00 Subject: Re: how to increase variable inside the while loop Hi Thanks .. That extra end was copy past mistakes. I Tryed to use if else but the logic is not entering In my head. How to compare 3 values .. I was thinking to do sorting then some how comparing But because of 3 values I'm confused. Thanks for further advice. -- Posted via http://www.ruby-forum.com/.